Footnotes - JJWheatley

Antipattern: The Blob

Summary

Description

"The blob is found in designs where one class monopolizes the processing, and other classes primarily encapsulate data."[1] The main issue is "that the majority of the responsibilities are allocated to a single class"[2]

Synonyms

Solutions

Refactoring

"The key is to move behavior away from The Blob."[3] This can involve reallocation of behavior to the smaller classes surrounding The Blob or splitting The Blob’s functionality into a number of separate classes.

Further Reading

References


  1. Brown, William J. et al. (1998) "AntiPatterns" p.73 ↩︎

  2. Brown, William J. et al. (1998) "AntiPatterns" p.74 ↩︎

  3. Brown, William J. et al. (1998) "AntiPatterns" p.77 ↩︎