lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



Roberto Ierusalimschy kirjoitti 10.6.2009 kello 21:03:

Every person I train in Lua asks me why 'continue' doesn't work. I show them the "equivalent", and it never meets with any kind of satisfaction.

[...]

I'm in the camp where I see a real need for it in Lua, not only for
clarity, but because it is a very useful loop construct that anyone
coming from another popular (scripting) language will expect to be able
to use.

Any comment about this?

 http://lua-users.org/lists/lua-l/2005-09/msg00548.html

-- Roberto

It is curious that the number of times I have missed 'continue' exceeds the number of times I've needed 'repeat' (which is 0).

But that's just me. :)

-asko