Re:The rise of functional programming and the decline of Ang...
by Irish on Friday August 19, 2016 @10:47AM
(#12320361)
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)
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)