Get the latest tech news
Premature Abstraction
Practical tips that allow you to build an evolving architecture
As I said, it took me another 15 years before I pulled back the curtain far enough to realize that those early teachings were not universal truths at all, but merely highly opinionated guidance, some of which hasn’t really stood the test of time. If you had asked me that question 20 years ago, I might have tried to come up with arguments about how the former represented good design because it was following code patterns, maybe I would have thought up a reason about encapsulation or extensibility, or I don’t know. Embrace the basics of procedural programming, with a touch of functional flavor, avoid unnecessary abstractions, and focus on the minimal set of things you need to get a working solution.
Or read this on Hacker News