News for hackers. Stuff that matters.
Re:Lua: the world's most infuriating language? by anonemouscoward on Friday October 18, 2013 @10:07AM (#6571415)
> I mean, 1-based arrays, weird scoping and the pairs/ipairs thing seems far more serious than the lack of a proper conditional operator (how long did Python go before it got a conditional operator?)

No. Not having a real numeric or array type is serious, '1-based arrays' is just a minor quibble about syntactic sugar.

Re:Lua: the world's most infuriating language? by justincormack on Friday October 18, 2013 @10:20AM (#6571483)
LuaJIT has real types and arrays, as part of the ffi.
Re:Lua: the world's most infuriating language? by anonymoushn on Friday October 18, 2013 @11:48AM (#6572009)
The language seems to ship with an array type and a numeric type. I hear it will soon ship with 2 numeric types instead. If you aren't satisfied with your ability to redefine the numeric type(s) to literally anything by changing 1 line in 1 header file, you can use a userdata that supports "real numeric" operations.