home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / shell / 3645 < prev    next >
Encoding:
Internet Message Format  |  1992-08-26  |  3.7 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!zaphod.mps.ohio-state.edu!usc!news!netlabs!lwall
  2. From: lwall@netlabs.com (Larry Wall)
  3. Newsgroups: comp.unix.shell
  4. Subject: Re: Octal chmod status
  5. Message-ID: <1992Aug26.184221.29627@netlabs.com>
  6. Date: 26 Aug 92 18:42:21 GMT
  7. References: <Bt7t36.1w3@mudos.ann-arbor.mi.us> <1992Aug19.130558.8488@news.eng.convex.com> <1992Aug25.042522.3198@ve3ied.UUCP>
  8. Sender: news@netlabs.com
  9. Organization: NetLabs, Inc.
  10. Lines: 72
  11. Nntp-Posting-Host: scalpel.netlabs.com
  12.  
  13. In article <1992Aug25.042522.3198@ve3ied.UUCP> bduncan@ve3ied.UUCP (Bill Duncan) writes:
  14. : My problem with perl stems from 2 things.
  15. :     a) Philosophically, it's ugly.  It tries to do too many things in one
  16. :        place.  Thus, it's borrowed from many of the simpler unix tools,
  17. :        but tried to stuff it all in one with an inconsistent language.
  18.  
  19. Oh, and I suppose that what you're doing can't be classified as an
  20. inconsistent language too?  The language Unix is vastly more inconsistent
  21. than the language Perl.  And guaranteed to remain that way, forever
  22. and ever, amen.
  23.  
  24. I freely admit Perl is not pretty.  I always have.  It's mentioned in
  25. the first paragraph of the man page.  But I think your long familiarity
  26. with Unix has blinded you to its ugliness, from which Perl's ugliness
  27. derives (at least in part).
  28.  
  29. What is the sound of Perl?  Is it not the sound of a wall that
  30. people have stopped banging their heads against?
  31.  
  32. :        (It's sorta like sed, but not.  It's sorta like awk, but not. etc.)
  33.  
  34. Guilty as charged.  Perl is happily ugly, and happily derivative.
  35.  
  36. :        And it goes against the grain of building small tools.
  37.  
  38. Innocent, Your Honor.  Perl users build small tools all day long.
  39.  
  40. :     b) On a more practical front, I don't like to carry all the perl
  41. :        sources to every new client before I can become "productive" in
  42. :        their environment.
  43.  
  44. Perl is a durn sight easier to carry around than your typical grab bag
  45. of tools.  And you can leave it there, making your clients more productive
  46. in their environment too.
  47.  
  48. You have to admit that it's difficult to misplace the Perl sources.  :-)
  49.  
  50. : I've seen you mention other scripting languages Tom, but I've only seen
  51. : any of your perls...  I agree that not everything should be done in "C".
  52. : You also need to weigh how often it will be used, and how fast is "fast
  53. : enough".
  54.  
  55. Certainly.  There's always tradeoffs.
  56.  
  57. : But how about something a little smaller, more appropriate for the task,
  58. : and more "universal".  I don't know what you're running on, but it would
  59. : take alot longer than those times to suck in half a meg on my machine,
  60. : just to get perms on a file!
  61.  
  62. Certainly.  That last is a valid criticism for some machines.  I'm
  63. trying to make Perl a little smaller, more appropriate to the task, and
  64. more "universal" all the time.  I just chopped the yacc grammar for
  65. Perl down by a third on Monday.  Perl will be puttable into a shared
  66. library for architectures that support it.  I do what I can, and don't
  67. worry about the rest.
  68.  
  69. : ...
  70. : You can't look at problems in isolation without further context before
  71. : deciding what is or is not appropriate.  Unfortunatly, far too many
  72. : programmers do.
  73.  
  74. No quarrel with that.  But you have to allow a little for the desire to
  75. evangelize when you think you have good news.  Now, it's expected when
  76. you evangelize that some seed will fall on the pathway, some on rocky
  77. ground, some among weeds, and some into good soil.  Sometimes you put
  78. seed into inappropriate places because, as an evangelist, either you
  79. don't have a very discriminating broadcast medium, or you don't know
  80. offhand whether a place is appropriate or not.  Not your responsibility.
  81. Like it says, "He that hath ears, let him hear."
  82.  
  83. Love,
  84. Larry
  85.