home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / mac / misc / 13870 < prev    next >
Encoding:
Internet Message Format  |  1992-07-27  |  1.7 KB

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