Efficient Event Registration: Motivation
Suppose we have a GUI that allows us to Cut and Paste
The “Cut” action can be performed by (1) a menu item and (2) a button.
cut when we’ve highlighted
an object or area of text,
. . . We have to keep the
If more objects are added that perform “Cut” operations, we have to rewrite the program