lua-users home
lua-l archive

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


On Wed, Apr 16, 2014 at 10:41 AM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
> Quite an attractive idea now that we have so many new metamethods.
> Unfortunately string-to-number coercion creates pretty Lua examples
> for Gary Bernhardt's next talk on Wat.

How strongly do people feel about string-to-number?  It always felt
like something that belongs in lesser languages.  What is so hard
about explicit tonumber()?

Such a change would break some programs yes, but in a very obvious way.