Re:Scriptable Operating Systems with Lua [pdf]
by sitkack on Wednesday October 01, 2014 @01:33AM
(#8392991)
a) it doesn't matter b) lua doesn't have these pointer things you speak of. If you are going to hate on 1 based indexing at least have the fine style of EWD.
[ Parent
| on HN ]
Re:Scriptable Operating Systems with Lua [pdf]
by krapp on Wednesday October 01, 2014 @09:50AM
(#8394261)
Off by one errors are enough of a problem without having to remember that lua decided [1] means something other than what [1] means in almost every other language, so plan accordingly.
It's not critical, but it does matter.
Re:Scriptable Operating Systems with Lua [pdf]
by sitkack on Wednesday October 01, 2014 @06:49PM
(#8398307)
c) the audience. Lua was designed a scripting and data environment to run simulations in Fortran. So the customer was already using 1 based indexing.
https://www.cs.utexas.edu/users/EWD/transcriptions/EWD08xx/E...