Home Segments Index Top Previous Next

821: Sidetrip

So that you can specify getters and setters as literals when you are working with aspect adapters, VisualWorks implements the perform: and perform:with: methods. The perform: method is useful because the following have the same effect:

receiver getter 
receiver perform: getter expressed as literal 

The perform:with: method is useful because the following have the same effect:

receiver setter argument 
receiver perform: setter expressed as literal with: argument