News for hackers. Stuff that matters.
Re:An Illustrated Theory of Numbers (2017) by throwawaymath on Monday December 17, 2018 @11:21PM (#18704505)
You shouldn't consider offsets ("0-indexed") more valid or right than ordinals ("1-indexed"). Doing so imposes unnecessary restrictions and narrows your scope of discussion to the programming context instead of broader mathematics. You can come up with any arbitrary case where it alternatively makes sense or doesn't make sense to include 0 in the natural numbers.

If something is a matter of taste, it really doesn't make sense to say one taste is "right" over another. It's more important to define your terms and be consistent for the context you're working in.

There are no comments on this comment yet.