Hacker News new | ask | show | jobs
by jeffrallen 696 days ago
Hey, just dropping in to say: the moment I saw the demo of the feature, I said to myself, "that's gonna be due to a good underlying data structure and this article is going to be about that data structure".

Was not disappoint.

This is a lesson I learned way too late in IT: Get the data structure right and interesting features come at reduced cost.

1 comments

Put an interface around it and you can change the underlying data structure.
Except for when you can't, because all abstractions leak.

https://www.hyrumslaw.com/

Of course there are always times where you can't.

But most of the times you can.