proposal: remove case keyword

Jason House jason.james.house at gmail.com
Sat Jul 28 15:46:07 PDT 2007


mandel wrote:
> Hi,
> 
> simple question; do we need to write "case"
> inside a switch statement? Is it needed for parsing?
> To me it seems to be superfluous
> and could be removed or at least made optional.
> 
> Opinions?
> 

What is your proposed alternate syntax for case statements.  You can't 
replace case A: with A: because then it'd look like a line label.


More information about the Digitalmars-d-learn mailing list