From lua-l Sat Jun 17 01:04:15 2000 From: tomas () ccpa ! puc-rio ! br Date: Sat, 17 Jun 2000 01:04:15 +0000 To: lua-l Subject: Re: labels Message-Id: <200006170104.WAA02939 () ccpa ! puc-rio ! br> X-MARC-Message: https://marc.info/?l=lua-l&m=113878329728681 > 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