[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Killa: a scripting language based in Lua 5.2 with a JavaScript like syntax
- From: Miles Bader <miles@...>
- Date: Thu, 3 May 2012 12:29:10 +0900
2012/5/3 [ex] <exeqtor@gmail.com>:
> 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...]
-miles
--
Cat is power. Cat is peace.