Hacker News new | ask | show | jobs
by JoeAltmaier 2801 days ago
Agreed. Off-by-one often shows up when calculating indexes e.g. differences in indexes or offsets. These calculations are independent of the base of the index (0 or 1 or even N).