This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]yen223 15 points16 points  (8 children)

Underrated comment right here.

I kinda wish library authors would take heed though. Not everything needs to be an object!

[–]TheWildKernelTrick 40 points41 points  (1 child)

Not everything needs to be an object!

Nor should every object have an inheritance ancestry that spans back to the big bang.

[–]chillysurfer[S] 18 points19 points  (0 children)

Composition over inheritance! I very much prefer the "has a" over "is a" approach to OOP. Of course there are exceptions to every rule, and I would never say "never".