Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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.

Comment on Re: 101 reasons to use strict;

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://115633]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2015-11-27 05:30 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (719 votes), past polls