Re:Correctness and composability bugs in the Julia ecosystem
by _vdpp on Monday May 16, 2022 @11:25AM
(#31398830)
It makes iteration less error-prone too when the index of the last element is equal to the length of the array. In C it’s pretty easy to iterate past the end of an array if you use <= by mistake in a for loop, or forget a “length - 1” somewhere.
[ Parent
| on HN ]
There are no comments on this comment yet.