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?? |
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
In Section
Past Polls
|
|