lua-users home
lua-l archive

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


Dang. Sorry to hear. Anyway, thanks for writing a great book and
helping to make a great language, I'm glad to have given you my money
:)

On Mon, Jul 28, 2014 at 12:35 PM, Roberto Ierusalimschy
<roberto@inf.puc-rio.br> wrote:
>> Is there any plan to remove these from the language at some point? It would
>> allow the authors to simplify the language, as well as remove the
>> possibility yet another type of user error. I understand the removal
>> process involves deprecation as a first-step, but I also understand that
>> Lua is not afraid to break a little backwards-compatibility now and then
>> for the sake of simplifying the language.
>
> In the end, it seems that this "little backwards-compatibility" is far
> from little; these coersions happen in several unexpected places.
> (For instance, the pattern "%d+" does not capture numbers, but numerals.
> Similarly, os.date("%j") does not return a number with the day of
> the year, but a numeral.) So, for now, the plans to deprecate some
> coercions are suspended.
>
> -- Roberto
>