(no title)
drblast | 4 years ago
Also a way to pretend you're unit testing everything when your code is spaghetti and includes "write to the database" intertwined with business logic instead of as a separate, composable step in a pipeline.
The amount of braindead bullshit introduced by the use of DI frameworks so that people can write insanely shitty imperative code while under the illusion they're following "best practices" is ridiculous. Most of them time they're completely reinventing language features that are already there that are provably bad ideas.
Don't get me wrong, DI has its place, but for whatever reason it's like heroin to the kind of people that like to feel clever and fall in love with complexity for its own sake.
You know how Linus hates C++ not because of C++ but because of the kind of developer that loves C++? That.
No comments yet.