|
|
|
|
|
by ehnto
1915 days ago
|
|
There are so many instances in code where two options are just as good as eachother by some negligible margin. The actual problem that needs solving is figuring out how to compromise and collaborate. That's why, if I am on a team project, I much prefer working in opinionated frameworks with strong idioms. It actually doesn't matter if I think I could do it better, the framework has chosen a different way and that is fine. We all have to do it that way, and we can all compromise and collaborate. No one bickers about best, and we can get real work done. Different when it is a project of my own, but if it requires teamwork you need a framework of collaboration as much as a framework of code. |
|
This is my other beef with SOLID: no trade offs.
I'd even extend your point to say that there are many times when code is not ideal but fixing it isn't worthwhile.
It would be nice to have a set of principles which recognized costs rather than promoting a vague, idealized standard for developers to fight over.