switch()

Walter Bright newshound2 at digitalmars.com
Mon Feb 17 12:26:10 PST 2014


On 2/17/2014 10:03 AM, Manu wrote:
> Well, I firmly stand by all those convictions. They also look worse out of context.
> I don't think switch is particularly good, and firmly believe C's switch
> statement was (is) a design catastrophe. I've believed that for 20 years. You're
> welcome to disagree, and tell me why you do. I might even change my opinion if
> someone can convince me it's awesome the way it is for some reason.
> I've spent 3 days basically writing switch statements. I haven't enjoyed it, and
> I feel the experience is a big missed opportunity.

Having strong convictions is good, but strong reactions to them come with the 
territory :-)



More information about the Digitalmars-d mailing list