FP needs polymorphism too and as a matter of fact FP tends to be even more static.
In FP we have type classes, built via OOP in static OOP languages.
> Infact having just method you no longer need Polymorphism / Interfaces.
That’s false.
FP needs polymorphism too and as a matter of fact FP tends to be even more static.
In FP we have type classes, built via OOP in static OOP languages.
> Infact having just method you no longer need Polymorphism / Interfaces.
That’s false.