Suppose you want to add a method to the extension of class Object. The method you add in this example contains no variables or statements. This method is meant to be placed in other methods simply as a marker that additional work needs to be done at that location. Once in place, you can then browse all senders of this method in the Smalltalk development environment to find methods that require more attention.Another way to flag unfinished methods is to group them in a category named, for instance, Needs more work.From the Application Browser you have open on DevelopChooser, add the method to your class extension as follows:
3. Add the method category Guide Examples. (Select Add from the Categories menu. Then, in the displayed prompter, enter Guide examples.)
6.
|