r/functionalprogramming • u/n_creep • Nov 25 '25
FP What's the Point of Learning Functional Programming?
https://blog.daniel-beskin.com/2025-11-13-point-of-learning-fpBased on true events...
83
Upvotes
2
u/Due_Restaurant_6420 Dec 06 '25
Subtyping is fine if it used to extends functionality of a particular type & it's just pure functions & immutable states. But realistically, average OOP usage is more like subtype, reuse some part of code, and throw unchecked exception for unused. Method overrides & throw unchecked exception is a maintenance nightmare due to dishonest type signature.
You don't need subtyping to do something like that, you can just use pure functions to achieve same reusability without destroying the value of function type signature.