[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Predefined labels (Inspired by discussion on: Why do we have ipairs?)
- From: Dirk Laurie <dirk.laurie@...>
- Date: Thu, 3 Jul 2014 07:10:48 +0200
2014-07-03 0:18 GMT+02:00 Paige DePol <lual@serfnet.org>:
> Also code wise, if I see "goto {something}" I am going to be
> looking for a {something} label, however, if I see `break` or
> `continue` I know what to expect, and I know the language
> has already facilitated placing labels for those keywords
> in the correct places. To me, `goto break` or `goto continue`
> just looks like someone was confused when writing the code! ;)
How about `→continue` and `→redo`? Then `→break` simply
fits the pattern. (Thanks for the `redo`, Philipp, it's much more
intuitive than what I had).