Nov 21, 2023
This is more like premature abstraction vs thoughtful abstraction debate. The latter brings flexibility and possibility to leverage domain knowledge.
And I've not meant FP or OOP are the only way to do abstractions, but I can't agree a bunch of PHP templates is always a good thing. Or MVC is a good thing. It all depend where we want the power of abstraction and most useful factoring of repeated parts.
And I was actually talking mostly about business domain abstractions. Ones, which contain knowledge. Auxiliary domains usually have established solutions.