Good things come to those who vote! Login and vote now.
By gilf
via blogs.microsoft.co.il
Published: Nov 22 2009 / 13:08
Once in a while I’m stumbling on switch statements during a
Code Review session. Whenever this is happening my first reaction is to understand why did the developer use it.
Since using switch statement sometime implies spaghetti code and also can get very crowded (in case statements of course) in this post I’m going to show an alternative method that I pr...
Add your comment
Voters For This Link (26)
-
gilf -
daniel.marbach -
alashcraft -
olagato.myopenid.com -
mknutty -
insane -
BnB -
Marwy -
rsmaniak -
Rickasaurus -
rw95483 -
mswatcher -
skaboss -
cosmin.baciu -
taharqa -
codecraig -
Joseph.Volcy -
Onextrapixel -
henrycow -
Topnotch -
itaibh -
webmascon -
c-bass -
motxilo -
wombat42a -
leifg




