lua-users home
lua-l archive

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


2014/1/6 Josh Haberman <jhaberman@gmail.com>:

> So my first question is, does it seem Lua-like to allow implicit
> string <-> integer conversion when it is safe?

In expressions, string<-integer is Lua-like, yes. string->number
is the status quo, but  controversial, and Roberto has implied [1]
that it might go.

[1]: www.lua.org/wshop12/Ierusalimschy.pdf‎ (p36)