3 ms·
Universally I'm a huge fan of the off-by-one errors. Because the index started at 0 instead of 1, or 1 instead of 0, or the range ends one before the given numb
by kleer001 7y ago
Universally I'm a huge fan of the off-by-one errors. Because the index started at 0 instead of 1, or 1 instead of 0, or the range ends one before the given number, or the difference between subtracting two numbers and then using that as a range. Or when you're using < or > when you should be using <= or >= Whoo, there's so many ways to be off by one. Good times.
- sloaken 7y agoI believe the 'off by one' are called fence post errors. Building a fence, 50 feet, put a post every 10. How many fence posts do you need? Well 50 / 10 = 5 obviously :-)