God Objects
An example of anti pattern

- God Object is an object that knows too much or does too much
- God object will hold lot of data and required many methods.
- They don’t follow single responsibility principle.
Single responsibility principle is a common programming technique to separate large problem into several smaller problems and create a solution for each of them. A given object for a small problem need only know about itself. There is only one set of problem an object needs to solve: its own problem.
4. God object can be useful for tight programming such as microcontrollers where the performance increase and centralization of control are more important than maintainability and elegance.