Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: To initialise or not to initialise?

by qq (Hermit)
on Jun 24, 2004 at 21:12 UTC ( #369488=note: print w/replies, xml ) Need Help??


in reply to To initialise or not to initialise?

I with the camp that says don't initialize.

That said, however, I'm constantly annoyed by the 'use of uninitialized ...' warning, usually when I'm interpolating a variable that I'm well aware might be undefined. It has to be the warning that I most often don't care about, and my code often grows constructs just to avoid it, which always looks ugly.

qq

  • Comment on Re: To initialise or not to initialise?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (2)
As of 2021-10-20 06:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (79 votes). Check out past polls.

    Notices?