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