Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: What programming language do you hate the most? (shell scripting)

by LanX (Saint)
on Dec 02, 2017 at 15:02 UTC ( [id://1204738]=note: print w/replies, xml ) Need Help??


in reply to What programming language do you hate the most?

  • Shell scripting

    Was my vote, mostly because I don't really know most of the other suspects.

    While I love using *sh on the command line for its expressiveness, it becomes a real mess when designing scripts/programs.

    Many things rely on shelling out and break compatibility, some *sh even require to call test for boolean expressions.

    Documentation is hard to find, just one unqueryable big file for bash.

    How many users know that bash supports arrays?

    Or how to define functions?

    Many will differ because bash is their daily workhorse and because of the close relationship to Perl.

    Point is that "Perl started as *sh on steroids" (quoting Frido) and solved many of the issues.

    Unfortunately Perl never really successfully attacked the interactive niche of shell, while carrying all the DNA of shell, awk, sed and regex (unlike Python)

    In other words most of the critic towards Perl applies much more to Shell.

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Wikisyntax for the Monastery

  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Domain Nodelet?
    Node Status?
    node history
    Node Type: note [id://1204738]
    help
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this?Last hourOther CB clients
    Other Users?
    Others making s'mores by the fire in the courtyard of the Monastery: (4)
    As of 2024-03-29 01:35 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found