2014-06-27 16:31 GMT-03:00 Eliot Miranda <[email protected]>:
> On Fri, Jun 27, 2014 at 11:58 AM, Esteban A. Maringolo
> <[email protected]> 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

Reply via email to