I disagree that switch statements are more readable than if else statements, at least if you put your braces on their own lines.

if (true)
{
   // something
}
else if (true)
{
   // something else
}
else if (true)
{
   // yet another outcome
}

I don't think either is more readable than the other, unless you write your if else or switch statements poorly (no whitespace).

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to