lua-users home
lua-l archive

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


> >> 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).

Not to mention the problem of how to test all combinations...

-- Roberto