Switch-case made less buggy, now with PATCH!
Ellery Newcomer
ellery-newcomer at utulsa.edu
Sun Nov 22 17:17:43 PST 2009
On 11/22/2009 05:18 PM, Don wrote:
>
> I wasn't. Introducing case xxx!: is the problem.
>
Ok, I'll bite, why is it a problem?
Because it's a new syntax.
Because fallthrough isn't a big enough issue to devote an entire lexical
token to.
Because it came out of the blue.
Because instead of overhauling the entire thing and coming up with a new
syntax which only executes one of the case blocks, which is what is
intended 99.994% of the time, we should make arcane patches to an
inherently bad design. No wait..
More information about the Digitalmars-d
mailing list