Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: OneWingedShark
LOL - And you prove my point; you want an object when you’re working with it and something storable to store, a file.

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.

105 posted on 05/27/2009 1:54:17 PM PDT by antiRepublicrat
[ Post Reply | Private Reply | To 102 | View Replies ]


To: antiRepublicrat

>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.).


106 posted on 05/27/2009 2:23:38 PM PDT by OneWingedShark (Q: Why am I here? A: To do Justly, to love mercy, and to walk humbly with my God.)
[ Post Reply | Private Reply | To 105 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson