[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: New scoping rule for "repeat" and "continue" patch
- From: Chris Marrin <chris@...>
- Date: Wed, 05 Oct 2005 15:03:21 -0700
Roberto Ierusalimschy wrote:
Not to mean any disrespect to the great designers of Lua, but the
designers of C certainly thought about this long and hard and made the
decision to keep it out of the inner scope, probably for exactly this
reason. So following that wisdom might be a good choice.
I revere Thompson and Ritchie, but if we follow that reasoning we should
also forbid "mixed declaration and code" and several other mechanisms
different from C. (Actually we should have implemented C, not Lua :)
Yes, I understand that sentiment. But let's not get into the "we need to
do it this way because C did it the other way and we need to be
different from C" trap :-)
chris marrin ,""$,
email@example.com b` $ ,,.
mP b' , 1$'
,.` ,b` ,` :$$'
,|` mP ,` ,mm
,b" b" ,` ,mm m$$ ,m ,`P$$
m$` ,b` .` ,mm ,'|$P ,|"1$` ,b$P ,` :$1
b$` ,$: :,`` |$$ ,` $$` ,|` ,$$,,`"$$ .` :$|
b$| _m$`,:` :$1 ,` ,$Pm|` ` :$$,..;"' |$:
P$b, _;b$$b$1" |$$ ,` ,$$" ``' $$
```"```'" `"` `""` ""` ,P`
"As a general rule,don't solve puzzles that open portals to Hell"'