lua-users home
lua-l archive

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


On Monday 23 June 2003 22:32, Tuomo Valkonen wrote:
> Exactly these same arguments can be used to justify 'goto' and 'goto'
> actually is a very intuitively clear construct while I wouldn't say the
> same of whatever [N]. Numerical levels have an awful kludgy feel to them;
> labelled break/continue would be cleaner, but I still don't like them.
>
> Maybe people should just organize their code better?

You have my sympathy. I've been programming in C for 20 years without ever 
using "break" (except in "switch", of course) or "continue"... despite coming 
from non-structured BASIC. I find readability and ease of maintenance much 
more important than saving a few cycles, or a few minutes of coding time.

  Enrico