home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!apple!apple!bc
- From: bc@Apple.COM (bill coderre)
- Newsgroups: comp.sys.mac.misc
- Subject: Re: CLIs that teach; GUIs that don't
- Message-ID: <70514@apple.Apple.COM>
- Date: 27 Jul 92 20:57:38 GMT
- References: <1992Jul20.120019.73@physc1.byu.edu> <70403@apple.Apple.COM> <1992Jul24.182633.12662@msc.cornell.edu>
- Organization: Apple Computer Inc, Cupertino, CA
- Lines: 35
-
- NOTE: The following is intended as humorous. Do not raise your blood
- pressure -- it's bad for your heart.
-
- Maynard Handley:
- |This is a lovely little example. On our SPARCs we all became accustomed to
- |using ps -aux. Seems natural, right? Then we obtained a whole bunch of
- |RS6000s we quickly learned that ps -aux fails- silently. The - (and
- |everything after it) is ignored. You are supposed to type ps aux.
-
- The point that this proves is that good programs give good feedback.
-
- Most UNIXen are content merely to succeed silently (which I personally
- find bogus, but there are arguable reasons why it is a good idea).
-
- This UNIX goes one step further to FAIL silently. Clearly an innovation!
-
- People always complain about error messages, but they really are your
- best friend. Mac tends to give really bland ones (I once coded an app
- that had the single failure alert "Something Went Wrong"), UNIX gives
- really cryptic ones, and everbody hates VMS-style error messages,
- except for the fact that they tend to actually explain the problem,
- and have a way to look them up for more detail.
-
- Obviously, we should have a translation table for error messages:
-
- MAC ID Equivalent message
- 1 Seg Fault
- 4 Zero Divide
- 6 Overflow
- 12 Call Field Service
- 17 PANIC
- 25 Call Key Operator
- 40 "login:"
-
- bill coderre
- hope this brings a smile to your fingers
-