Two different things: a quick command or short script to get something done, and writing an application.
I'd rather use a command with awk, sed, grep, etc., for some on-the-fly task (or even a scheduled one) than design and write an object-oriented application. For example, if you were throwing those text files on my server constantly, wanting them to be parsed out for some task, a one-line command on a chron job could probably do the job very well. I don't even need to recompile when you change the parsing criteria.
>Two different things: a quick command or short script to get something done, and writing an application.
Are they? I mean isn’t programming very broadly defined as the implementation of a solution to a problem/task? If that is the case, then shell-scripting is, obviously, just another case of programming. (IE Batch programming and application programming are still both programming.)
>I’d rather use a command with awk, sed, grep, etc., for some on-the-fly task (or even a scheduled one) than design and write an object-oriented application.
...but you yourself said that that was no different from using APIs and being SOL when they change. I’m of the belief that a good scripting system is something good/desirable; take Scheme or LISP for example, as they are scripting/interpreted languages... also note that LISP _was_ the equivalent of the batch-file/script for the “Lisp Machines” { Search that term here: http://www.gigamonkeys.com/book/introduction-why-lisp.html }
>For example, if you were throwing those text files on my server constantly, wanting them to be parsed out for some task, a one-line command on a chron job could probably do the job very well. I don’t even need to recompile when you change the parsing criteria.
This is true. However it seems to be the poor-man’s not-quite “hot code deployment”. ( Search that term here: http://www.defmacro.org/ramblings/fp.html ) In all, it sounds very much like you are advocating a needlessly componotized/isolated version of the Lisp Machine’s capabilities wherein the scripting-language LISP was the glue that held the system together (Obviously you could run other programs, compilers, interpreters, apps, etc under such a system.).