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. MaringoloReally? Which one?
> <emaringolo@gmail.com> wrote:
>> Because Smalltalk lacks a "switch/case" control flow structure? :)
> and of course it has one that works just fine.
Or are you referring to this code pattern?
(a = 1) ifTrue: [^...].
(a = 2) ifTrue: [^...].
(a = 3) ifTrue: [^...].
Double dispatching is not always an option.
:)