4 ms·
"The variant mentioning off-by-one errors may be pleasant, and useful for beginners, but is hardly a problem." On the contrary-- I have seen many beginners str
by carols10cents 15y ago
"The variant mentioning off-by-one errors may be pleasant, and useful for beginners, but is hardly a problem."
On the contrary-- I have seen many beginners struggle for a long time to fully grasp counting starting at 0, which leads to many off-by-one errors.
- nakkiel 15y agoThat's right but with some very basic rigour that kind of bug ever hardly bites. With high level languages this is less and less of a problem; Python for example let one write code without using i.