Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^3: Are global variables "bad"?

by Your Mother (Archbishop)
on Apr 21, 2009 at 17:46 UTC ( [id://759070]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Are global variables "bad"?
in thread Are global variables "bad"?

Don't forget to have fun. If this is a learning project or something just for you, don't worry too much about correctness. Just have a good time and pay attention. If you need to refactor later, that can also be fun and a learning experience. Trying to get something perfect up front can be a bit paralyzing and counterproductive. Treating first stabs as prototypes can dig out the real issues you'll face for a robust final version.

There is a great quote in the intro to a chapter of one of the Perl books (which I don't have in front of me). Something along the lines of: It is faster to build a four inch telescope and then a six inch telescope, than it is to build a six inch telescope.

Replies are listed 'Best First'.
Re^4: Are global variables "bad"?
by jpearl (Scribe) on Apr 21, 2009 at 18:47 UTC
    You're definitely right, I've learned a heck of a lot from writing something only to scratch it all later and redo it. I'm pretty sure that's what this program will end up being. Luckily this particular project, while "work", is more of an exercise for myself with positive repercussions for the others in the group, than it is a heavy production style program. Basically I have time to screw up, and then make it right again ;-) Good advice, Thanks Your_Mother

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2024-03-28 20:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found