| Next | Program Repair Shop | 42 |

If we omit line 170, then observers of Class::Observable are not considered observers of Alarm
But nobody was going to add an observer to Class::Observable anyway
Or if they did, why shouldn't it observe all the derived objects?
In fact, such a mechanism might be useful for debugging
Possibly more useful than all that ->observer_log stuff
So why go out of our way to rule it out?
Avoid special cases
| Next | ![]() |
Copyright © 2006 M. J. Dominus |