home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / shell / 5214 < prev    next >
Encoding:
Text File  |  1992-12-31  |  2.5 KB  |  57 lines

  1. Newsgroups: comp.unix.shell
  2. Path: sparky!uunet!usc!news.cerf.net!netlabs!lwall
  3. From: lwall@netlabs.com (Larry Wall)
  4. Subject: Re: ksh 1, perl 2 - ksh or perl for scripting?
  5. Message-ID: <1992Dec31.203724.26018@netlabs.com>
  6. Sender: news@netlabs.com
  7. Nntp-Posting-Host: scalpel.netlabs.com
  8. Organization: NetLabs, Inc.
  9. References: <1992Dec23.160443.13103@crd.ge.com> <1992Dec28.235815.21034@netlabs.com> <1992Dec29.201505.8229@crd.ge.com>
  10. Date: Thu, 31 Dec 1992 20:37:24 GMT
  11. Lines: 44
  12.  
  13. In article <1992Dec29.201505.8229@crd.ge.com> davidsen@crd.ge.com (bill davidsen) writes:
  14. : In article <1992Dec28.235815.21034@netlabs.com>, lwall@netlabs.com (Larry Wall) writes:
  15. : | In article <1992Dec23.160443.13103@crd.ge.com> davidsen@crd.ge.com (bill davidsen) writes:
  16. : | : This is particularly true of
  17. : | : really clever perl programmers I have known, who seem to feel the need
  18. : | : to write "impressive" code instead of code which just works.
  19. : | 
  20. : | You can prove anything by counting idiots.
  21. :   I don't think it's true that all good perl programmers are idiots.
  22.  
  23. I don't think you think it's true that all good perl programmers are idiots.
  24.  
  25. : They tend to be a bit strange, I agree...
  26.  
  27. *I'm* never strange...
  28.  
  29. :   This problem appears in most languages in which there is more than one
  30. : reasonable way to solve a problem. Programmers get thinking about the
  31. : code and decide they could do it a bit {faster,smaller,better,cleaner}
  32. : and go rewrite the code.
  33.  
  34. Nothing the matter with that.  We all optimize for various and sundry
  35. reasons, and those reasons can change over time.  I don't think there's
  36. even anything terribly wrong with optimizing for impressive obfuscation
  37. when the fit takes you.  It's only when the fit takes you inappropriately
  38. that it can be considered antisocial.  These are the folks I was thinking
  39. of.
  40.  
  41. I would argue that these same people tend to obfuscate their C, their sh,
  42. their nroff, too.  There are, in fact, multiple ways to solve problems
  43. in these languages too, though I won't quarrel with you if you want
  44. to assert that Perl gives you a slightly richer basic toolset than C,
  45. and that this may have some influence on a programmer's thinking.  The
  46. linguists have been debating this question longer than most of us are old.
  47.  
  48. I do quarrel with logic that says, "Stupid people are associated with X,
  49. therefore X is stupid."  Stupid people are associated with everything.
  50.  
  51. Mind you, I'm not accusing you of expressing exactly that sentiment,
  52. but it was close enough that I could trot out the epigram that had been
  53. burning a hole in my noggin for several days.  :-)
  54.  
  55. Larry
  56.