|
|
|
|
|
by pjmlp
16 hours ago
|
|
> Most PL devs refuse to do this citing how unnatural it is for themselves to reason about, and how Dijkstra was right about the beauty of 0-based indexes Thankfully I learnt to program back in the days where languages could go both ways, or even better you could explicitly set the lower and upper bounds. Thus as programmer I never agreed with him. And it isn't as if programmers of some famous 0 based index languages don't do indexing errors all the time. |
|