home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / misc / 3501 < prev    next >
Encoding:
Internet Message Format  |  1992-09-01  |  9.8 KB

  1. Path: sparky!uunet!ogicse!uwm.edu!cs.utexas.edu!csc.ti.com!tilde.csc.ti.com!mksol!mccall
  2. From: mccall@mksol.dseg.ti.com (fred j mccall 575-3539)
  3. Newsgroups: comp.misc
  4. Subject: Re: Giles' Manual Mania (Was - Re: About the 'F' in RTFM)
  5. Message-ID: <1992Sep1.201959.17608@mksol.dseg.ti.com>
  6. Date: 1 Sep 92 20:19:59 GMT
  7. Article-I.D.: mksol.1992Sep1.201959.17608
  8. References: <1992Aug26.214319.14738@mksol.dseg.ti.com> <1992Aug27.020832.23988@newshost.lanl.gov> <1992Aug27.192610.12441@wixer.cactus.org> <1992Aug28.005710.1989@newshost.lanl.gov>
  9. Organization: Texas Instruments Inc
  10. Lines: 181
  11.  
  12. In <1992Aug28.005710.1989@newshost.lanl.gov> jlg@cochiti.lanl.gov (Jim Giles) writes:
  13.  
  14. >In article <1992Aug27.192610.12441@wixer.cactus.org>, rhodesia@wixer.cactus.org (Felix S. Gallo) writes:
  15. >|> [...]
  16. >|> Okay, give some concrete examples of a better 'sed', a better 'yacc',
  17. >|> and a better 'awk'.
  18.  
  19. >GNU has a better yacc (they may even call it yacc, I forget - I use LR) 
  20. >which is full LR and not LALR like normal yacc.  LR (a public domain 
  21. >parser generator) is also better than yacc.  However, if your research
  22. >and development is scientific/numerical software, a parser generator
  23. >is not really a central concern.
  24.  
  25. They call it bison, actually, it it acts very much like yacc.
  26. Everybody is asking you for these better examples I asked you for
  27. earlier, Jim.  You dodge them as you dodged me.  Why don't you just
  28. answer the man?
  29.  
  30. >Awk is a poor imitation of snobol.  The very fact that you mentioned both
  31. >sed and awk is interesting also.  They do the same thing (or, to be more
  32. >precise, there's a *considerable* overlap in functionality).  Yet they 
  33. >do so differently - incompatibility!  If UNIX were true to it's creed
  34. >(simple orthogonal tools each doing one thing *well* and piping them
  35. >together), there would be one tool - or at least the two would have
  36. >identical syntaxes for the overlapping parts of their operations.
  37.  
  38. Well, Ada and FORTRAN do the same thing, too, and they are
  39. incompatible.  Which one should we dump?
  40.  
  41. >|> [...]
  42. >|> >*NOTHING*!!  With the alternatives I've seen, you *gain*: speed, features,
  43. >|> >user productivity, etc..
  44. >|> 
  45. >|> Err, these 'GUI's you keep referring to are faster than /bin/rc?
  46.  
  47. >The /bin/rc I have access to is part of the system boot sequence and is 
  48. >not a part of the naive user envoronment at all.  What relevance to does 
  49. >it have to a discussion about user-level tools?  I'm talking about tools
  50. >which are useful in writing and maintaining software for applications
  51. >*other* than system design or system maintenence.
  52.  
  53. You are undoubtedly thinking of /etc/rc.  It's not the same thing.
  54. You keep talking about all this gain in speed, features, etc., but you
  55. never name any tools.  Come on, Jim.  Name us these more powerful sed,
  56. awk, yacc, lex, etc.  Name us the tools with more POWER than the text
  57. formatting tools one typically finds on UNIX.  Name us the software
  58. development tools.  The list goes on and on.  Just what is it that you
  59. do that is so specialized that you think the rest of the world should
  60. have to go your way?
  61.  
  62. >|> >[...].  The "pipe together simple tools" approach
  63. >|> >has *some* merit.  Too bad UNIX didn't stick to it.  More precisely, too
  64. >|> >bad UNIX didn't periodically winnow out all but the best tools and utilities
  65. >|> >and rewrite them to be compatible and orthogonal.  Might be an interesting
  66. >|> >system.
  67. >|> 
  68. >|> But they are.  sed, awk, perl, tr, pr, nroff, troff, ls, tbl, pic, eqn,
  69. >|> rm, and all the other programs in my /[usr/]bin perform completely correctly
  70. >|> and predictably when placed in pipes.  Maybe there's something integral
  71. >|> to the process which you're failing to understand.
  72.  
  73. >Yes, I fail to understand why your list contains several tools (nroff,
  74. >troff, tbl, eqn, etc.) which are individually as difficult to learn
  75. >as a single integrated tool which does *all* those word processing
  76. >operations - and contains context sensitive help (even though it's
  77. >already easier to learn than the UNIX stuff).  Especially since these
  78. >integrated tools actually have MORE features than what you mentioned.
  79. >If those tools were each *very* simple to learn, or if they each
  80. >actually *did* more, the technique might be an acceptable alternative
  81. >to integrated tools.  However, the low quality and long learning
  82. >curve of these tools is probably the reason that the world is 
  83. >moving away from the piped-tools model and going toward integrated
  84. >environments - for word processing anyway.
  85.  
  86. As usual with the UNIX philosophy, Jim, one gets low-level control
  87. (and the complexity that has to come with that).  You do indeed fail
  88. to understand.
  89.  
  90. >|> [...]
  91. >|> The failure you're experiencing with UNIX is in thinking that it's
  92. >|> a business productivity tool like Windows 3.1 or Quicken, to be compared
  93. >|> with MSDOS color GUI programs.  UNIX and C are research and development
  94. >|> tools.
  95.  
  96. >Yet, they're being promoted for use in production environments.  If they
  97. >are research and development tools, let the researchers and developers
  98. >keep them - hidden away and out of the rest of the public's way.  In 
  99. >any case UNIX and C are for research and development of systems and
  100. >system maintenence tools - not for, say, X-ray imaging or groundwater
  101. >flow or stock market analysis tools.
  102.  
  103. The two areas where I probably wouldn't use C/UNIX are business
  104. applications (because the IBM COBOL legacy simply makes it
  105. unrealistic to do so) and real time applications (because the UNIX
  106. tasking and post-crash recovery aren't what you want for that).
  107.  
  108. >|> [...]
  109. >|> I've spent 13 years on computers now, and I must confess I have no idea
  110. >|> what these secret tools you're referring to are.  Could you provide
  111. >|> concrete examples of a tool that is as easy to use as, say, sed, that
  112. >|> provides just as much power, but whose documentation is 'better laid
  113. >|> out'?
  114.  
  115. >Sed?  Easy to use?  I don't use it much because it's *not* easy to
  116. >use (and because most of what I do doesn't involve text filtering).  
  117. >In the 25 years I've been programming, the only system I remember
  118. >to *compare* with the difficulty of learning and using UNIX is OS/360.
  119. >And for the same reasons: *lots* of arcane trivia and poorly organized
  120. >manuals.  The terms `arcane' and `user friendly' are mutually exclusive.
  121. >UNIX is arcane.
  122.  
  123. And what language and environment have you used for that 25 years,
  124. Jim?  It must have been the same one, or you wouldn't be so upset at
  125. having to change now.
  126.  
  127. The man asked you for concrete examples.  You again fail to give them. 
  128.  
  129. >|> [...]
  130. >|> >[...]  Many businesses would never have even considered using UNIX 
  131. >|> >without something *like* windows (or alternative utility sets,
  132. >|> >or alternative shells - anything to improve the crummy environment) 
  133. >|> >because UNIX is not cost-effective without them (too much training 
  134. >|> >and "guru" overhead).
  135. >|> 
  136. >|> Right, there's your problem again -- assuming that businesses have a
  137. >|> need for UNIX, or that UNIX was designed for use in the commercial
  138. >|> marketplace.  I think Roell Piper has this misnotion too.
  139.  
  140. >No, Ive been claiming exactly what you just said: that there are 
  141. >environments where UNIX is not appropriate.  I'm arguing *against*
  142. >the assumption you accuse me of making.  Since you are not recommending 
  143. >UNIX for environments for which it is not suited (like the person I was 
  144. >responding to), my comments don't apply to you.  I was responding to claims 
  145. >that UNIX *was* suited to these application domains - which is not so.
  146.  
  147. No, that's not what you've been claiming.  You've been doing your
  148. usual periodic 'bash C/UNIX' routine.  As usual, you look as foolish
  149. as ever and are now having to change your words.  NOBODY said that
  150. C/UNIX was the answer for EVERYTHING.  You impute that to people and
  151. then tirade away from there.
  152.  
  153. As "the person" you "were responding to" (not!), let me say that I did
  154. NOT say what you impute to me.  People can read, Jim, and their
  155. memories simply aren't that short.
  156.  
  157. >|> [...]
  158. >|> Again, you miss the point of UNIX entirely.  UNIX is designed for
  159. >|> a networked environment.  It is designed for multi-user machines.
  160. >|> It is designed to be modular, and text-based; there are few needs
  161. >|> for 'off-the-shelf GUIs', whatever that's supposed to mean.  The
  162. >|> toolset is integrated.   In fact, you can even *make your own
  163. >|> tools.*  Try that under Windows. :)
  164.  
  165. >No, UNIX was basically designed and fixed in its present form before
  166. >networks even existed.  The network protocol which is presently used by
  167. >most UNIXes is a system independent protocol (deliberately so) designed
  168. >by DARPA.  UNIX was designed at AT&T as a testbed for trying out experimental
  169. >ideas of system design.  It was not intended, when first designed, to be
  170. >seen or used by any but the researchers involved and their colleagues - all
  171. >of whom were willing to endure the idiosyncracies of an ad-hoc system.  
  172. >It became widespread because it was free and open (neither are technical 
  173. >qualities - schools wanted some unimportant system which was simplistic
  174. >enough to teach from and could be sacrificed to studen hacks and such;
  175. >no one was foolhardy enough - in those days - to do anything really
  176. >important on UNIX) and it is popular now because the students who 
  177. >learned under it are not willing to learn anything new (as is evidenced 
  178. >by the strong resistence and abuse from many on the net when it is suggested 
  179. >that there *might* be better ways).  UNIX retains its experimental, testbed 
  180. >character - as well as many of the experimental features (even those which 
  181. >are now thought to be bad ideas).
  182.  
  183. And now here you are back to saying it's bad for everything.  You
  184. REALLY need to make up your mind, Jim.  If you can ever get it open,
  185. that is.
  186.  
  187.  
  188. -- 
  189. "Insisting on perfect safety is for people who don't have the balls to live
  190.  in the real world."   -- Mary Shafer, NASA Ames Dryden
  191. ------------------------------------------------------------------------------
  192. Fred.McCall@dseg.ti.com - I don't speak for others and they don't speak for me.
  193.