by Irish · 10y ago · 0 comments
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)
No comments yet.