Comment Comment by nonabelion >I tend to say that FP is good at adding new operations to existing things, while OOP is good at adding new things to existing operations.What you described is exactly the _expression problem_. And it has some solution.See https://oleksandrmanzyuk.wordpress.com/2014/06/18/from-objec... parent nonabelion 9 years ago
What you described is exactly the _expression problem_. And it has some solution.
See https://oleksandrmanzyuk.wordpress.com/2014/06/18/from-objec...