By tag: anti-pattern
0
kicks
Anti-Pattern: The Gas Factory or Unnecessary complexity
Just as in any system, when you start coding some structure, you always try to make it as generic as possible to make it easy to later reuse those parts. There is normal complexity when you build your code and as you go, complexity adds up. However, one of the main problem of this anti-pattern is wh...
0
kicks
Anti-Pattern: Anemic Domain Model
Here is an anti-pattern Martin Fowler will agree with. In fact, it’s Martin Fowler that first described this anti-pattern in November 2003. Like Fowler said, it looks like a model, it smells like a model but there is no behaviour inside.
The basic symptom of an Anemic Domain Model is that at firs...
0
kicks
Anti-Pattern: The god object
Because it’s easier to recognize evil if you have a mug shot, here’s one simple for all of you. The god object is a class that knows too much. It’s a severe violation of the Single Responsibility Principle and probably a lot of the other principle of SOLID depending of the implementation.