|
|
|
|
|
by haswell
751 days ago
|
|
I've always seen "Premature Optimization" as an umbrella that covers a variety of cross-cutting concerns, ranging from: - Performance
- Code structure / abstraction
- Data structure
- Team organization / org structure I'd argue that DRY (and a focus on abstractions more generally) are optimizations of the codebase. Not all optimizations are optimizing the same thing. |
|
One thing that really goes against the usual programming grain is DBMSes. We're taught to always decouple/abstract things, but I'm convinced that it's impossible to abstract away your DBMS in most applications. It's just too big of an interface, and performance considerations leak right through it. It's always one of the selling points of an ORM, "you can switch databases later," and then nobody actually switches.