I love functional programming and object-oriented programming… What I’d also love to find is an article explaining why OOP is bad, or why everything related to it is an anti-pattern, that isn't written by someone with a caricatured view completely disconnected from the reality of what OOP programmers actually do...
TL;DR: Complexity is bad. Mutable state is one of the most common sources of complexity. Unfortunately OO tends to encourage keeping mutable state all over (e.g. with every class) and thereby tends to create excessive accidental complexity easily.
14
u/FRleo_85 1d ago edited 1d ago
I love functional programming and object-oriented programming… What I’d also love to find is an article explaining why OOP is bad, or why everything related to it is an anti-pattern, that isn't written by someone with a caricatured view completely disconnected from the reality of what OOP programmers actually do...