| |
| | [No title] |
 | | A return value can be a boolean indicating the success of failure of the operation, a new object that is the result of the operation, or an existing object such as the receiver of the method. |
 | | An explicit return consists of a return statement, and causes an immediate return from the method context, even if the return statement is inside a block. |
 | | Be wary of ¥ sets of return objects, ¥ the use of ÒcaseÓ statements in client code to analyze return values, and ¥ generic data structures, such as arrays, which are analyzed by the client. |
| www.smalltalksystems.com /publications/return_values.doc (2109 words) |
|