Hacker News new | ask | show | jobs
by kqr 2949 days ago
I agree with the general sentiment, but suggest exercising caution: Every problem can be solved by an additional layer of abstraction, except the problem of too many layers of abstraction!
2 comments

The version i like goes something like this :

Any problem of abstraction (in programming) can be solved by adding a layer of indirection. Any problem of performance can be solved by removing a layer of indirection.

Is that a quote from someone? It nicely sums up my naive experience of trying to "clean up" my code