DEV Community

Discussion on: OOP vs Functional Programming

Collapse
 
kant312 profile image
Quentin Delcourt

OOP ♥️ FP
I try to apply both at the same time. Objects should be made immutable and methods should have ideally no side effect, when possible.
The combination is for me an incredible and efficient way to model business logic.
Putting one against the other would be missing out on important concepts, imho.