| From | Sent On | Attachments |
|---|---|---|
| Horsley Tom | May 25, 2000 10:31 am | |
| Chris Nandor | May 25, 2000 10:53 am | |
| Peter Scott | May 25, 2000 11:07 am | |
| Horsley Tom | May 25, 2000 11:27 am | |
| Steve Lane | May 25, 2000 11:47 am | |
| Chris Nandor | May 25, 2000 11:57 am | |
| Ben_...@trepp.com | May 25, 2000 12:27 pm | |
| (Simon Cozens) | May 25, 2000 12:30 pm | |
| Horsley Tom | May 25, 2000 12:32 pm | |
| (Johan Vromans) | May 25, 2000 12:44 pm | |
| Chris Nandor | May 25, 2000 12:59 pm | |
| Elaine -HFB- Ashton | May 25, 2000 1:20 pm | |
| David H. Adler | May 25, 2000 1:25 pm | |
| Peter Scott | May 25, 2000 1:34 pm | |
| Ben_...@trepp.com | May 25, 2000 2:03 pm | |
| Kurt D. Starsinic | May 25, 2000 2:14 pm | |
| Tom Christiansen | May 25, 2000 2:33 pm | |
| Tom Christiansen | May 25, 2000 2:41 pm | |
| Tom Christiansen | May 25, 2000 2:42 pm | |
| Tom Christiansen | May 25, 2000 2:44 pm | |
| Tom Christiansen | May 25, 2000 2:46 pm | |
| Elaine -HFB- Ashton | May 25, 2000 3:13 pm | |
| Chris Nandor | May 25, 2000 3:44 pm | |
| Tzadik and Sheva Vanderhoof | May 25, 2000 7:13 pm | |
| Robert | May 25, 2000 10:54 pm | |
| Matt Sergeant | May 26, 2000 12:21 am | |
| Horsley Tom | May 26, 2000 4:05 am | |
| Peterson, Jonathan | May 26, 2000 4:28 am | |
| Horsley Tom | May 26, 2000 4:36 am | |
| Adam Turoff | May 26, 2000 4:52 am | |
| Chris Nandor | May 26, 2000 5:14 am | |
| Elaine -HFB- Ashton | May 26, 2000 7:11 am | |
| Chris Nandor | May 26, 2000 7:22 am | |
| Tom Christiansen | May 26, 2000 8:01 am | |
| Dan Sugalski | May 26, 2000 8:20 am | |
| Matt Sergeant | May 26, 2000 8:28 am | |
| David Grove | May 26, 2000 8:50 am | |
| Elaine -HFB- Ashton | May 26, 2000 8:57 am | |
| Chris Nandor | May 26, 2000 9:31 am | |
| Adam Turoff | May 26, 2000 9:46 am | |
| Vanderhoof, Tzadik | May 26, 2000 10:14 am | |
| Elaine -HFB- Ashton | May 26, 2000 6:20 pm | |
| 'Elaine -HFB- Ashton' | May 27, 2000 8:12 am | |
| David Grove | May 27, 2000 7:10 pm | |
| Robert | May 27, 2000 9:24 pm | |
| Elaine -HFB- Ashton | May 27, 2000 9:48 pm | |
| David Grove | May 28, 2000 12:40 am | |
| Elaine -HFB- Ashton | May 28, 2000 7:22 am | |
| Jonathan Scott Duff | May 28, 2000 7:00 pm | |
| Robert | May 28, 2000 8:03 pm | |
| Chip Salzenberg | May 29, 2000 7:49 pm | |
| Chip Salzenberg | May 29, 2000 7:59 pm | |
| Chip Salzenberg | May 29, 2000 8:06 pm | |
| Ask Bjoern Hansen | Jun 3, 2000 9:00 am | |
| Uri Guttman | Jun 7, 2000 9:32 am | |
| (Simon Cozens) | Jun 7, 2000 5:13 pm | |
| Ask Bjoern Hansen | Jun 19, 2000 1:09 pm |
| Subject: | Re: Thoughts on maintaining perl | |
|---|---|---|
| From: | Peter Scott (Pet...@PSDT.com) | |
| Date: | May 25, 2000 1:34:58 pm | |
| List: | org.perl.advocacy | |
At 03:21 PM 5/25/00 -0500, Elaine -HFB- Ashton wrote:
sh, awk, python, etc...all of these can be powerful languages but why does Perl in particular have this stigma of being complex, difficult to maintain and obfuscated? I'm not asking about the reality...rather the perception. It's not just the PHB's who have this perception.
I think part of it is that -w and use strict are not defaults. I am appalled at how much code is posted that would break them, often by Important Perl People.
I teach my beginners what I call 'Safe Perl' - always use -w and strict, don't even bother telling them the whole raft of stuff they'd need to know without them. In fact just telling them "when you use getopts you need this piece of magic called 'use vars' which we may explain in a future class" is a definite win. I tell people that I may one day have a class for teaching the stuff that they'd need to know to understand and maintain poorly-written scripts from other people; but in the interim they're better off telling the authors to make them -w and strict clean, unless they want to learn it on their own.
Got a great kudo for this when a friend was telling me about a mutual friend who knew some Perl before my classes, was working with him and he said, "Okay, this isn't the way Peter would do it, but here..." and it failed... followed the principles I taught and it worked...
-- Peter Scott Pacific Systems Design Technologies





