|
|
|
|
|
by Irish
3597 days ago
|
|
OOP and FP are not mutually exclusive. Inheritance over composition,
Internal class state,
Imperative state mutations Only the last one is important. Internal state can exist in FP its just either immutable or private. I think even hardcore OOP people encourage composition over inheritance as much as possible and class based inheritance is not anti-thetical to FP (see scala) |
|