Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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??


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!

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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://115633]
help
Chatterbox?
marioroy At a large firm, had to awaken a security guy a few times so that nobody would catch him sleeping.
marioroy On a large dairy farm, almost went off the road with a 10 wheeler from exhaustion. On the farm, almost went off the silo with a big tractor. At the Fransiscan monastery, almost slipped off the dome while painting it.
[marioroy]: In Saudi Arabia caught fire but didn't burn. I think angels exist.
Lady_Aleena clean up after dinner finally.
[Discipulus]: uch! so we are twice lucky to have MCE..;=)
[marioroy]: Working a midnight graveyard shift, on the way home ran out of gas. just 2 minutes later somebody stops with a small tank of gas. It's wierd. There's always someone nearby for some reason.
[Lady_Aleena]: I was the one who stop[ed in the middle of a cold night to pick up a small family walking to a gas station. I got a few gallons of free gas for the round trip, and the grandmother said she'd pray for me.
[marioroy]: Folks do not know it, but MCE was ridiculously difficult. At Niagra Falls, heard a voice on enabling Grace while in the mist boat. That 10x performance is possible.
[marioroy]: Lady_Aleena Angels on earth are real people. That's awesome.

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (11)
As of 2017-05-29 08:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?