3 ms·
OOP is for structuring application code, FP is for structuring flow and make reasoning easy. They are different paradigms but can be used hand in hand. To be st
by croo 6y ago
OOP is for structuring application code, FP is for structuring flow and make reasoning easy. They are different paradigms but can be used hand in hand. To be stateless and single responsibility is as desirable in Java as well as in Haskell, the way you achieve it depends on the tooling.