L
Les Cargill
Malcolm said:stdin in is commonly used in beginner programs. It is old-fashioned and is
seldom used in most areas of computing. Interaction with computers is via a
GUI, and lengthy input is by files, and generally it does not make sense to
pipe these to standard input.
You may be working with a legacy system where modern practises haven't
arrived, but don't pretend that this is common.
I have been using Unix/DOS pipes for 20+ years. I've
never had a Unix pipe stack dump, once, except
when an element of the pipe was under development.
It was no more a struggle to accept responsibility for
constraining line length to a resonable value than any
other responsibility, since the contents of all files
being "piped" were under control of the people on the
projects involved.
GUI tools, on the other hand, stack dump on a regular basis.
At more that one installation *it became standard practice
to reboot one particular server periodically to "cure" a
well-documented and well-known memory leak* in the blasted
thing. This for a very expensive software package. This
state of the art prevailed for *over one year*, and still
prevails, so far as I know. This is also a very mission
critical package.
Since the leading offender in terms of viral infection by
memory ovwerwrite is by declaration a GUI-only solution
( Windows ), I find the irony of this statement most amusing.
And the *kewlest*, Most eXtreme form of GUIism, the actively
server-generated website, will *invariably* crash, for no
good reason, at random intervals. All HTTP clients leak
memory like a seive and crash merrily. The higher level
the tool (measure din Monster postings per package) used
to generate the website, the more frequent the crash.
Viva los CLI! GUIs are for people who can't operate text
editors! Add a CLI to a product lacking one, and you
will receive the most extreme gratitude of those who use
the thing See also "Cisco Corporation". At least they'll
be able to configure boxes while the GUI people are
consuming JOlt and pizza, mounrfully pulling all nighters
because the toolset is broken.
A good GUI is a joy to behold. There are , unfortunately,
almost no examples of a good GUI. The VC IDE is almost
the worst I have ever seen - without the help system, it'd
be unnavigable.