June 27, 2014
7:38 p.m.
2014-06-27 16:31 GMT-03:00 Eliot Miranda <eliot.miranda@gmail.com>:
On Fri, Jun 27, 2014 at 11:58 AM, Esteban A. Maringolo <emaringolo@gmail.com> wrote:
Because Smalltalk lacks a "switch/case" control flow structure? :) and of course it has one that works just fine.
Really? Which one? Or are you referring to this code pattern? (a = 1) ifTrue: [^...]. (a = 2) ifTrue: [^...]. (a = 3) ifTrue: [^...]. Double dispatching is not always an option. :) Esteban A. Maringolo