## User login## Navigation |
## Joshua Bloch: "Nearly All Binary Searches Broken"This amusing discussion is coming up all over the place.
Notice that a language with slightly different semantics would "solve" this problem, or at least mitigate the problem: All you need is to have range constraints on integers, thus not allowing the numbers to overflow unnoticed. This is the standard out of the box behaviour of Ada, for example. So another way to view this is as a question of finding good |
## Browse archives## Active forum topics |

## Recent comments

1 hour 21 min ago

1 hour 21 min ago

1 hour 57 min ago

3 hours 32 min ago

5 hours 50 min ago

8 hours 39 min ago

9 hours 16 min ago

10 hours 5 min ago

16 hours 42 min ago

16 hours 47 min ago