logoalt Hacker News

dwatttttyesterday at 11:04 PM1 replyview on HN

When all you have are arrays, everything looks like a problem you solve with arrays.

There are quite a few problems that specialised containers are suited for, that's why they were created.


Replies

monkeyelitetoday at 12:47 AM

And you can write them when you need them.

The situation where you need a red black tree with 10 different key/value combos isn’t real.

show 3 replies