lua-users home
lua-l archive

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


>> (though my preference would be to see the existing forms deprecated).
>
>Python has exactly the same issue. While <> is obsoleted, it's still
>there for compatibility purposes.

I would also appreciate != instead of ~=. Not only because I'm more used to it, but also because everytime I want to type '~' I have to press the '~' key and then the spacebar (that is, two keypresses instead of one). That's the default Windows "USA International" keyboard layout, which I believe is widely used.

The "new" != operator could be introduced in Lua 5.x (5.1?), and later on (maybe in Lua 6.0) the ~= operator could be dropped.

-- Thiago Bastos