"with" still sucks + removing features + adding features
grauzone
none at example.net
Mon May 18 21:24:28 PDT 2009
> I dislike the fall through as much as you do.
What about fixing it?
My proposal was always to introduce a new, second syntax, which switches
to sane semantics:
switch (x) {
case(value) {
//no fall through
}
case value2:
//C compatibility, fall through
}
At least the colon should make the two syntaxes [proper plural?]
unambiguous.
More information about the Digitalmars-d
mailing list