Switsch Statement like in java.

Günther Schmidt gue.schmidt at web.de
Wed Sep 7 13:47:52 UTC 2005


Cees De Groot wrote:
> Why? I've been programming Smalltalk full-time now for roughly 5
> years, never needed the thing...
> 
> Usually "I need a switch statement" is a strong refactoring smell...

Yep, I agree. It's usually a sign that you weren't doing very well on 
the OO part of OOP.

Günther




More information about the Squeak-dev mailing list