Re:The End of the Redis Adventure
by Bjartr on Tuesday June 30, 2020 @09:33AM
(#23689801)
I'd expect the underground programming world to index from zero.
[ Parent
| on HN ]
The first rule would have index 0...
I expect the third to be 10
This is underground programming. Perhaps it's 1?
Re:The End of the Redis Adventure
by fidelramos on Tuesday June 30, 2020 @09:48AM
(#23689938)
I'd make it -1, that way regular programmers wouldn't know about it.
"Should array indices start at 0 or 1? My compromise of 0.5 was rejected without, I thought, proper consideration." — Stan Kelly-Bootle.