Re:Why do arrays start at 0?
by vore on Wednesday August 24, 2022 @05:23PM
(#32585963)
% is defined as (mostly) a remainder operator. I don't think you want to change the semantics of division itself.
[ Parent
| on HN ]
Re:Why do arrays start at 0?
by OscarCunningham on Wednesday August 24, 2022 @06:04PM
(#32586384)
Right. Ultimately the 1-indexers are wrong.