Skip to content

Glossary: Software Design Patterns in Java

God object

Also written: god method

One class that does far too much, such as a `Shop` class with 40 methods. Split it by reason to change.

Where the book teaches it

Related terms

Single responsibility principle (SRP)Anti-pattern