|☞||Program Repair Shop||26|
Let's step back a moment
Associated with object A is a list of A's observers
Where should this list be stored?
In my opinion, there is a right place and a wrong place
The right place to store information about an object:
In the object
The wrong place to store information about an object: