switch()

Daniel Murphy yebbliesnospam at gmail.com
Mon Feb 17 07:42:22 PST 2014


"Manu" <turkeyman at gmail.com> wrote in message 
news:mailman.156.1392649746.6445.digitalmars-d at puremagic.com...

> I agree, to an extent. That's why I say if it is to be improved, I guess 
> it needs a new
> name.
> foreach eliminated almost all instances of for. I don't think anyone's 
> upset about
> that.

Exactly, foreach is a new, better language construct, but we didn't butcher 
for.  I would love to see a nice solid proposal for 'match'. 



More information about the Digitalmars-d mailing list