To all:

Okay, there have been a few comments about the merits of using strict, but I thought I 
would toss
up a meta-argument.

It's true that posters who post code without "strict" are generally reminded by 
several replies
that they should have used strict, but the respondents also usually try to answer the 
question. 
Personally, I would never think of dropping a note to Lincoln Stein for not using 
strict in CGI.pm
or Damian Conway for not using strict in anything.  People who are reminded to use 
strict are
usually (not always) people for whom strict would be an enormous benefit.

As for Perlmonks (brought up in one reply), the ones who have been around for a while 
are usually
very concerned not just about correctness (a program does what it should and no more), 
but also
about quality (a program that works can still be an unmaintainable piece of crud).  
So, when I see
someone who failed to use strict and then typed $recieved, I'll point out the 
misspelling, but
I'll also point out that using strict would have caught that error *at compile time*, 
rather than
have them pull their hair out for hours trying to figure out what's buggy.  

Quality, thus, tends to lead to correctness.  I could go on for hours as to why this 
is the case,
but really, who *doesn't* want correct programs?

I strongly recommend to every Perl programmer that they should hang out at Perlmonks.  
Why? 
Because of a saying amongst mathematicians (which applies very strongly to 
programmers, too):

    First-rate mathematicians want to hang around first-rate 
    mathematicians.  Second-rate mathematicians want to hang
    around third-rate mathematicians.

The reason for that is left as an exercise for the reader :)

Cheers,
Curtis "Ovid" Poe

=====
"Ovid" on http://www.perlmonks.org/
Someone asked me how to count to 10 in Perl:
push@A,$_ for reverse q.e...q.n.;for(@A){$_=unpack(q|c|,$_);@a=split//;
shift@a;shift@a if $a[$[]eq$[;$_=join q||,@a};print $_,$/for reverse @A

__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to