lua-users home
lua-l archive

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


On Jul 31, 2014, at 6:55 AM, Dirk Laurie <dirk.laurie@gmail.com> wrote:

> 2014-07-31 15:24 GMT+02:00 Roberto Ierusalimschy <roberto@inf.puc-rio.br>:
> 
>> Just in case, Lua 5.3 will have compile-time options for easily
>> disabling these coercions (one for string->number, another for
>> number->string), but the "standard" will be with coercions enabled.
> 
> This is a model that might be extended to various other aspects
> that people have been clamouring for (i.e. at least one person has
> diffidently requested). A feature that is not in current Lua, but easy
> to do, is controlled by a compile-time option that does not carry
> the taint of deprecation. I like it.
> 

Except that over time the source becomes a nightmare of nested #if/#else/#endif constructs… (shudders).

—Tim