3 ms·
Your alternative is dependency injection. What you seem to be describing is class factories (I.e. the use of meta classes) which /is/ OOP. That said, I think O
by dfee 8y ago
Your alternative is dependency injection. What you seem to be describing is class factories (I.e. the use of meta classes) which /is/ OOP.
That said, I think OOP is fine. And so is FP. They’re just tools, and I would prefer to model nouns in the former, and model verbs with the latter.