5
votes
Accepted
OO design - Process that relies on the current state of objects
There is a simple principle which helps you to avoid your program drifting into a Big-Ball-Of-Mud architecture: make a clear separation between getting the data and processing it.
I would omit the ...
5
votes
Convenience inheritance
IMHO implementation inheritance is not an anti-pattern in general.
There are too many examples where this works well enough to ban this kind of inheritance dogmatically. You presented a few examples ...
2
votes
Is it okay to mix OOP and modular approaches when building a backend with TypeScript/JavaScript?
Most contemporary programming languages allow to use different paradigms like OOP or functional programming. This alone is neither good nor bad per se. However, when those different styles are mixed ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
object-oriented × 3431design-patterns × 694
design × 609
object-oriented-design × 520
java × 488
c# × 364
php × 262
c++ × 240
inheritance × 191
python × 158
architecture × 156
interfaces × 153
class-design × 140
solid × 139
domain-driven-design × 124
functional-programming × 96
mvc × 89
programming-practices × 88
class × 88
single-responsibility × 78
encapsulation × 78
refactoring × 74
programming-languages × 67
polymorphism × 65
composition × 65