No more fall through in case statement?

Bill Baxter dnewsgroup at billbaxter.com
Thu Jan 3 04:26:03 PST 2008


davidl wrote:
> http://pragmatic.oreilly.com/pub/a/oreilly/dotnet/news/programmingCsharp_0801.html 
> 
> 
> I think I love the trap no.9
> 

I'm no C# guy but that looks like a nice way to fix C's switch.  "goto 
case 5" looks like something straight out of Walter's playbook, too.

But it's been discussed many times now and it doesn't seem likely 
Walter's going to change it in D.

--bb



More information about the Digitalmars-d mailing list