lua-users home
lua-l archive

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

2012/5/3 [ex] <>:
> About the base index 1 I think I was more interested on using already
> working C++/Javascript code
> in Killa than using Lua code in Killa, but I know this is a personal
> preference of mine (and some other programmers)
> I can't hope to convince you to use index base zero if you already
> like index base 1, you are in your right.

Actually I like base-0 better -- but not more than I like being able
to use existing code.... :]

In practice, I find I rarely notice the difference when writing Lua code.

[I guess the sort of indexing calculations where it actually matters
are much rarer in typical Lua code than they are in typical C code...]


Cat is power.  Cat is peace.