Re:Lua vs Ruby benchmarks (similarly "high-level" languages,...
by silentbicycle on Saturday January 31, 2009 @09:24AM
(#459577)
One advantage of 0-based is that using array[mod(i, length)] works. It mostly seems to me like 0-based vs. 1-based is a relatively arbitrary decision, though. Each just leads to fencepost errors in different places.
[ Parent
| on HN ]
There are no comments on this comment yet.