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

Obligatory reference to the Law of Leaky Abstractions:

https://www.joelonsoftware.com/2002/11/11/the-law-of-leaky-a...

Layers work to the degree that they are trivial, but we really only need them when they are non-trivial.




Layers work to the degree that you don't need to be a subatomic particle physicist to write this comment.

There are good abstractions and bad ones, all with varying degrees of leakiness and sharp corners. The good ones definitionally prevent you from needing to understand much about what they're abstracting.


Abstraction is real. So is bad code that pretends to be an abstraction.

Small leaks in an abstraction are survivable. Small leaks in many layers of abstraction are ruinous.




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

Search: