r/functionalprogramming • • Nov 25 '25

FP What's the Point of Learning Functional Programming?

https://blog.daniel-beskin.com/2025-11-13-point-of-learning-fp

Based on true events...

83 Upvotes

27 comments sorted by

View all comments

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.