|
|
|
|
|
by KrisAndrew
4305 days ago
|
|
In GRASP this is called "Pure Fabrication" - a thing that is not directly modeled in the problem domain. Initially, adding a search method to Product seemed sensible by using "Information Expert" (another GRASP term), but when proceeding on to adding suggestions and requiring the User object, it begins to violate "Low Coupling". You have to "fabricate" another object to avoid the God object. http://en.wikipedia.org/wiki/GRASP_(object-oriented_design) |
|