[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua 5.2 Keywords - In
- From: Miles Bader <miles@...>
- Date: Wed, 13 Jan 2010 08:52:51 +0900
Olivier Hamel <evilpineapple@cox.net> writes:
> One of the things I like in Lua 5.1 is that very few of the
> keywords are 'overloaded', the main exceptions being 'do' and 'end'.
>
> I'd personally prefer if it didn't reuse 'in' which is already in use
> by the 'for' loops.
Why?
The only problem with overloading is where it causes confusion, which
this new usage almost certainly won't (it's far removed from the other
usage -- nobody's going to look at one usage and think it's the other).
There's no need to be dogmatic.
-Miles
--
Dinanzi a me non fuor cose create
se non etterne, e io etterno duro.
Lasciate ogne speranza, voi ch'intrate.