|
|
|
|
|
by alankay1
3200 days ago
|
|
I should have mentioned a few other things for the later Smalltalks. First, selectors are just objects. Second, you could use the automatic "message not understood" mechanism to field an unrecognized object. I think I'd do this by adding a method called "any" and letting it take care of arbitrary unknown objects ... |
|
Right, I understand there are ways to do this with methods but my question was more about the purity aspect, which you already addressed above.