2 ms·
I started out with 0-origin and for pure programming I agree. The problem is that real-world indices almost invariably start at 1 and that is how everyone who i
by anigbrowl 10y ago
I started out with 0-origin and for pure programming I agree. The problem is that real-world indices almost invariably start at 1 and that is how everyone who isn't a programmer counts, so automating anything based on a real-world process requires a translation. Conversely, when testing and debugging against real-world stuff everything is going to be off by one. It's just asking for trouble.