lua-users home
lua-l archive

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


On 14/11/2012 15:00, Marc Lepage wrote:
I support bit operations and div/mod.
// reminds me of comments.

Not on Lua, of course... ;-)
// is already used in some languages for integer division. At least Visual Basic, IIRC...
Of course, not in C-like languages, for the reason stated by Marc. :-)

÷ is nice, but hard to type. We have already some users grumbling against ~...
Scala made the choice to allow Unicode operators, but they can be problematic on some old systems, some editors, etc. Having ÷ in an expression might look odd... (and might look different in non-ISO8859-1 code pages!).

--
Philippe Lhoste
--  (near) Paris -- France
--  http://Phi.Lho.free.fr
--  --  --  --  --  --  --  --  --  --  --  --  --  --