[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Why are people so afraid of globals?
- From: David Goehrig <dave@...>
- Date: Thu, 8 Jul 2010 19:55:58 -0400
Why are people so afraid of globals?
Maybe it is just my age, but this entire discussion sounds a lot like trying to do nasty things to the language to protect inexperienced people from shooting themselves in the foot. Which is an activity bound to fail due to fools being so ingenious.
If you take a peek at how Self implements globals, and copy that you'd probably address 100% of the problems people actually have with globals. But lua's OO features aren't quite up to Self's snuff.