4 ms·
OOP is widely spread but not well applied in many cases. After some familiarization with FP, you can develop an appreciation for objects with simpler inheritanc
by quantified 5y ago
OOP is widely spread but not well applied in many cases. After some familiarization with FP, you can develop an appreciation for objects with simpler inheritance of methods and state, and better management of mutability/state changes in the objects. Pure FP is difficult to master, but adopting its principles and limiting mutability within objects and to specific functions helps a lot with OOP.