[go: up one dir, main page]

|
|
Log in / Subscribe / Register

The bug parade meets the zombies

The bug parade meets the zombies

Posted Oct 6, 2014 10:06 UTC (Mon) by dgm (subscriber, #49227)
In reply to: The bug parade meets the zombies by sb
Parent article: The bug parade meets the zombies

For those too lazy to read the small transcription: go do it *right* *now*! Dijkstra is always worth it.

Now, it's obvious that _any_ convention has it's own problems, so starting at 0 is as sensible as anything else, and more convenient. None of the languages that start at 1 is really fix the _real_ problem: that people are bad at reasoning about boundary conditions. It's hard. We all know it.

So, the only reasonable solution is to avoid it completely, and use "for each" style looping when possible. And to be extra careful when not.


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds