add sh/bash to pain list
Posted Feb 22, 2007 3:06 UTC (Thu) by
k8to (subscriber, #15413)
In reply to:
add sh/bash to pain list by b7j0c
Parent article:
The Road to KDE 4: CMake, a New Build System for KDE (KDE.News)
I've used a lot of "more full featured language as a shell" tools over the years. I've given all of them fair shakes, tried to use them in real environments for weeks or months.
In the end they all suck.
Reasonable languages tend towards explicit. Shell really needs to do a lot of implicit to make life typing the stuff in reasonable. This is why tcl and perl fare much better as shells than python does, for example, since python syntax actually shows you what's a number and what's a string, and so on, wheras perl for example likes to hide that. But even perl and (even better suited to being a shell) tcl tend to fall down with requiring too much obnoxious syntax to do things that are just plain easy with bourne.
Shell is an interactive program first, a language only very secondarily (don't let the kool-aid drinkers say otherwise). A programming language can only really be a shell very secondarily. This is one of the reasons Monad sucks, for example.
(
Log in to post comments)