News for hackers. Stuff that matters.
Re:The security hole in sudo by natesm on Wednesday May 23, 2012 @12:09PM (#4013721)
I agree that removing implicit fallthrough is good, since it's a 90%/10% feature, but my problem is that the "break;" is meaningless extra syntax, since the lack of it generates a compiler error.

C# already implies no implicit fallthrough, so there's no need to explicitly state that you're not falling through. A better solution (for every language, really) would be a "fallthrough;" statement or "goto case x;", which C# does get right.

There are no comments on this comment yet.