- SmalltalkBestPracticePatterns/DispatchedInterpretation . . . . 1 match
* ''Have the client send a message to the encoded object. PAss a parameter to which the encoded object will send decoded messages.''
The simplest example of this is Collection>>do:. By passing a one argument Block(or any other object that responds to #value:), you are assured that the code will work, no matter whether the Collection is encoded as a linear list, an array, a hash table, or a balanced tree.
Found 1 matching page out of 7540 total pages (5000 pages are searched)
You can also click here to search title.