Hacker News new | past | comments | ask | show | jobs | submit login

Regarding the last bit, how hard can I say "wtf"? Writing readable code and a writing a binary search are hardly at odds; they're orthogonal.

Regarding the first bit, there are lots of situations where the algorithm needed is a binary search, but for which your generic search-a-sorted-array won't do. For almost any non-trivial need, really...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: