| ▲ | glitchc 17 hours ago | |
Why is OOP lumped with Clean Code? Objects are useful for managing complex states and relationships. They are complementary, not mutually exclusive, to procedural and functional programming. | ||
| ▲ | array_key_first 14 hours ago | parent | next [-] | |
Usually when people refer to OOP they don't mean encapsulation, although that's the core tenant of OOP. Encapsulation, private and public etc is a given. Usually they're talking about the other OOP stuff, like inheritance. Inheritance is pretty much bad and is the wrong abstraction for 90% of stuff. | ||
| ▲ | kdfjgbdfkjgb 17 hours ago | parent | prev [-] | |
I think they meant "OOP patterns". Not that I agree with them | ||