[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lua-l
Subject:    Re: labels
From:       tomas () ccpa ! puc-rio ! br
Date:       2000-06-17 1:04:15
Message-ID: 200006170104.WAA02939 () ccpa ! puc-rio ! br
[Download RAW message or body]

> This is our point: being a nice language feature is not a good enough reason
> for adding it to Lua, specially an obscure feature like break labels.
	That's a good point.  Lua is an extension language; not for doing
anything one can imagine, isn't it?

> We haven't seen any really good uses of labels, except the abstract "break
> from an inner loop around an outer loop", which of course can be done with
> functions.
	I think it is enough.  I don't like labels and I think "break n"
is worse.  We have more than 24000 lines of Lua code in our system and
there are only some cases where we built a function only to break the loop.     

	Tomas

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic