News for hackers. Stuff that matters.
Re:The oldest person in the world never holds that title for... by ScottBurson on Tuesday May 26, 2015 @01:36PM (#9606262)
Wow, is Lua now the canonical example of a language that uses 1-origin indexing? No one remembers Fortran anymore? God I feel old...
Re:The oldest person in the world never holds that title for... by scotty79 on Tuesday May 26, 2015 @02:48PM (#9606796)
Actually I just went here: http://en.wikipedia.org/wiki/Comparison_of_programming_langu...

sorted table by "Default base index" and at first picked FORTRAN, considered COBOL and Smalltalk for a while then saw Lua and thought that should resonate with people. My personal experience with 1 based indexing is from Matlab and Pascal (though you can base your indexes on whatever value you want there).

Re:The oldest person in the world never holds that title for... by TazeTSchnitzel on Tuesday May 26, 2015 @01:53PM (#9606362)
One of the few that people still care about!

Aside from BASIC, maybe.

Re:The oldest person in the world never holds that title for... by zzalpha on Tuesday May 26, 2015 @10:57PM (#9609073)
Or Algol. Or Pascal. Or Smalltalk...