What is GOD class and why should we avoid it?

Technology CommunityCategory: Software ArchitectureWhat is GOD class and why should we avoid it?
VietMX Staff asked 3 years ago

The most effective way to break applications it to create GOD classes. That are classes that keeps track of a lot of information and have several responsibilities. One code change will most likely affect other parts of the class and therefore indirectly all other classes that uses it. That in turn leads to an even bigger maintenance mess since no one dares to do any changes other than adding new functionality to it.