[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: An alternative to the "continue" statement
- From: "Evan DeMond" <evan.demond@...>
- Date: Tue, 26 Feb 2008 16:53:47 -0500
On Tue, Feb 26, 2008 at 4:40 PM, Eric Tetz <firstname.lastname@example.org> wrote:
When considering that question, you should probably add ", and for
On Tue, Feb 26, 2008 at 12:45 PM, Fabien <email@example.com
> The question behind syntax extensions is always: does it improve code
whom?" More readable to the average Foo programmer, or the Foo guru?
There's great value in economy of concepts.
I think readability's always going to be a subjective thing - as evidenced by the multitude of individual coding styles. So given that, I'd say it's best then to strive to keep the language's design coherent with its philosophy.
As I understand it, Lua wants to provide "meta-mechanisms" for people to do what they want - so I'd say we don't have "continue" for about the same reason we have tables as the only native data structure. We can do it with what's there already, and do it in our own way, and good taste is up to the individual.
Personally, I wouldn't mind either way if continue were in the language, but this is how I see it when I try to detach my perspective =)