switch()

Chris Cain clcain at uncg.edu
Sun Feb 16 08:08:51 PST 2014


On Sunday, 16 February 2014 at 16:04:53 UTC, Chris Cain wrote:
> http://dlang.org/overview.html
>
> #7: Where D code looks the same as C code, have it either 
> behave the same or issue an error.

I feel the need to clarify: I really don't mean all of the 
proposed changes are bad for this reason, but one of the ones I 
would find most value in (implicit "break;"s) is inappropriate. 
Sorry for the double post.

I do like the suggestions in spirit.

** I'm also surprised "default" is necessary. I thought it was 
only necessary in final switches.


More information about the Digitalmars-d mailing list