News for hackers. Stuff that matters.
Re:Julia 1.0 by buckminster on Thursday August 09, 2018 @01:23PM (#17726290)
I programmed in 1-based languages for a decade before I used C yet I prefer 0-based.

If you are calculating an index the domain and range of the index function are very often 0-based. So you have to subtract and add one to convert from and to 1-based. It's just messy.

There are no comments on this comment yet.