Always use [closed, open) intervals. A programmer's perspective

from blog fhur's blog, | ↗ original
A short note on the dangers of using [closed, closed] intervals.