|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
Re: 101 reasons to use strict;by jepri (Parson) |
| on Sep 29, 2001 at 20:00 UTC ( #115633=note: print w/ replies, xml ) | Need Help?? |
|
I always wonder where people who don't use strict learned to program. Most (fully) compiled languages are much more harsh than 'strict' in Perl - you must predeclare *everything*, and you can never be ambiguous. I freely confess that the thing that kept away from strict the most was the 'my' command - I didn't understand what it did. I kept searching through the docs trying to find out how to declare an 'int' or a 'string'. I can laugh about it now... I previously wrote medium size programs in basic and found that after a few thousand lines the program fell apart - my best techniques couldn't cover up for my mistakes. I really appreciate strict. It's like having someone sitting behind me saying things like "you misspelt that". I even get annoyed at it for things like not telling me when my variable goes out of scope and I get the wrong value because of the parent scope. Do what I mean! ____________________
In Section
Meditations
|
|
||||||||||||||||||||