[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Automatic Variables Local rather than Global (Proposal)
- From: Bret Victor <bret@...>
- Date: Mon, 4 Sep 2006 19:19:51 +0000 (UTC)
The creator of Ruby thought as you did. He later realized that
implicit declaration of locals was the "single biggest design flaw"
in the language. The problem lies with conflating declaration
and assignment. See:
http://lua-users.org/lists/lua-l/2005-08/msg00139.html