[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Are automatic coercions ever going away?
- From: Dirk Laurie <dirk.laurie@...>
- Date: Thu, 31 Jul 2014 15:55:53 +0200
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.