Skip to main content
added 23 characters in body
Source Link
Darien
  • 3.5k
  • 2
  • 20
  • 18

Where does the logic and complexity live? If the outermost Hardware instance is mainly a facade or adapter and, while the componentssub-components have most of the codelogic and behavior, then I'd say "No".

There may be otherother criticisms you could level at it, but to me a "God Object" is more often a class with way "too many" lines of code doing "too many" different kinds of things.

Where does the logic and complexity live? If the outermost Hardware instance is mainly a facade or adapter and the components have most of the code, then I'd say "No".

There may be other criticisms you could level at it, but to me a "God Object" is more often a class with way "too many" lines of code doing "too many" different kinds of things.

Where does the logic and complexity live? If the outermost Hardware instance is mainly a facade or adapter, while the sub-components have most of the logic and behavior, then I'd say "No".

There may be other criticisms you could level at it, but to me a "God Object" is more often a class with way "too many" lines of code doing "too many" different kinds of things.

Source Link
Darien
  • 3.5k
  • 2
  • 20
  • 18

Where does the logic and complexity live? If the outermost Hardware instance is mainly a facade or adapter and the components have most of the code, then I'd say "No".

There may be other criticisms you could level at it, but to me a "God Object" is more often a class with way "too many" lines of code doing "too many" different kinds of things.