Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How is this an off BY ONE error? (Pretty sure it's not.)


> The fourth hold from the top in the right hand lane was off by one with respect to its counterpart in the left hand lane.


The grips are placed on a grid. It was supposed to be at, say, (43,55) but actually placed at (42,55).


While that's indeed literally off by one, typically in programming an off by one error is a fence post error: if you have 4 fence posts, there are 3 sections in-between the fence posts, and off by one errors are about mistaking those two things. That's not really what happened in this climbing grip coordinates scenario here.


I realise that by arguing the semantics, and am making this worse.

However

Off by one is the error, not the cause. sure, a lot of off by one errors are caused by index starting confusion, but not all. The hold is clearly off by one. thus its a "real life" off by one error.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: