Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re^5: Tk question

by benn (Priest)
on Sep 10, 2003 at 11:04 UTC ( #290372=note: print w/ replies, xml ) Need Help??

in reply to Re^4: Tk question
in thread Tk question

Yes, I think globals are a Bad Thing generally - not So Bad that I don't use them {g}, but it'll only ever be a couple ($dbh and $cgi, generally). I try to only use globals if it makes things more stylish, or efficient, or pretty. In a case like this, where it looks he's trying to make *every widget* global, that's almost definitely a Bad Thing, and is probably contributing to some 'code spaghetti'.

Cheers, Ben.

Comment on Re^5: Tk question

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (13)
As of 2015-11-30 16:40 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 (777 votes), past polls