Dijkstra defended zero indexing with an empty sequence: include the start, exclu...

@ChrisPirillo@mastodon.social

Dijkstra defended zero indexing with an empty sequence: include the start, exclude the end, and length stays end minus start. His 1982 note explains the argument without establishing who invented the convention. lockergnome.com/dijkstra-zero-