News for hackers. Stuff that matters.
Re:Teaching the Unfortunate Parts by ironmagma on Monday December 28, 2020 @08:29PM (#25565588)
The mental model doesn’t really jive with circularity since arr[arr.length] is not the same as arr[0] in any language that I know of. With a circle, you would expect that arr[0], arr[length], and arr[2*length] are all identical.

There are no comments on this comment yet.