News for hackers. Stuff that matters.
Re:What is the most intrusive wart on your favourite program... by hxa7241 on Monday December 08, 2008 @10:11AM (#389893)
Lua: array indexing starting at 1 (and interoperating with C is one of the main purposes of the language)
Re:What is the most intrusive wart on your favourite program... by silentbicycle on Monday December 08, 2008 @11:33AM (#389987)
See also: (http://lua-users.org/wiki/CountingFromOne)

There are arguments for doing it either way, but making indexing incompatible with the language in which it is expected to embed in is just rude.

Re:What is the most intrusive wart on your favourite program... by silentbicycle on Monday December 08, 2008 @05:00PM (#390455)
Which really is too bad, by the way - the language designers seem to have done a brilliant job of shrugging off potential design warts otherwise. It's a very clean language.