| ☞ | Program
Repair Shop ![]() |
54 |
I have an idea of why it might not have been finished
There are some interesting issues here
The rest of the code suggests to me that the author is a subtle thinker
Prone to worrying about issues like this:
my $g = Guard->new("Fred");
my $a = Alarm->new;
$a->add_observer($g1);
$a->add_observer($g1);
$a->delete_observer($g1);
$a->notify_observers("I like pie!");
Does this notify $g1?
I am not a subtle thinker
I decided that the second add_observer is a no-op
| ☞ | ![]() |
☞ |