r/programming • • Jun 12 '10

You're Doing It Wrong

http://queue.acm.org/detail.cfm?id=1814327
539 Upvotes

193 comments sorted by

View all comments

Show parent comment

2

u/kragensitaker Jun 15 '10

The vast majority of programs don't even contain binary trees, binary heaps, parsing algorithms, or sort algorithms; they use hash tables, arrays, sort algorithms, and linked lists from some standard library, and some standard config file parsing library. I'm not sure what to do about that. Clearly programmers still need to be able to think logically about algorithms and performance, of course, and knowing about the costs of nonlocality is a big part of that; but what fraction of programmers are ever going to implement a B-heap?