Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic

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??

in reply to 101 reasons to use strict;

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!

I didn't believe in evil until I dated it.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://115633]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2018-05-22 22:40 GMT
Find Nodes?
    Voting Booth?