DEV Community

loading...

Discussion on: What does OOP mean to you?

Collapse
jrop profile image
Jonathan Apodaca

To me it is all about composition via structs (whereas FP is composition via functions).

I am not convinced that method syntax is strictly an OOP construct.

Collapse
stereoplegic profile image
Mike Bybee

It's important to note that FP and OOP aren't mutually exclusive.

Collapse
jrop profile image
Jonathan Apodaca

This is a fantastic point, and this is why I believe that (to many's chagrin) languages like JavaScript are increasingly popular. JS supports OOP/FP (or some semblance of each).

Forem Open with the Forem app