Sunday, August 2, 2009

Today, in our "knock it off" series... MS annoyance.



Yes, I realize that the line that breaks case REALLY IS unreachable code, due to the "return" statement right above it, but seriously! Do you honestly expect me to omit the break statement? Would you consider that good practice ? (Damn, I just noticed I forgot to add it for the default block...)

I vote for MS removing this annoyance from the IDE, and allowing programmers to always have a break after case, without pointing a green finger at them.

Who's with me !?

No comments: