God Class

Noun · Slang & Abbreviations

Definitions

  1. An object-oriented class that has taken on too many responsibilities, knows too much, and controls too much of the system. It is a classic code smell because it becomes hard to test, change, or reason about.

    In plain English: A class that has become too large and responsible for too many things.

    Example: "UserManager is a god class now; it handles auth, billing, email, and reporting."

Related Terms