Keep It Simple, Stupid | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Take a look at this.
See those guys? If
you don't use strict (they are lax on warnings), they will
hunt you down and say mean things to you.
Seriously, the _best_ reason i can think of is 'it will save you time and keep you from stressing out'. I had recently found myself getting very lax at using strict and warnings, and it was showing! The average programmer makes typos, lots of them. Strict and warnings will help you catch those typos, don't use them and you will waste your time trying to understand why your program is not working correctly, even though it compiles. So, if you are really good at 'guessing' why your program is broken, then don't bother with strict and warnings, but if you cherish the hairs on your head and a calm stomach, please use them. :) perl -le '$x="jeff";$x++ for(0..4482550);print $x' In reply to (jeffa) Re: Why use strict/warnings?
by jeffa
|
|