Switch-case made less buggy, now with PATCH!
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Sun Nov 22 17:11:39 PST 2009
Chad J wrote:
> Don wrote:
>> You've missed the point. Andrei made a proposal for eliminating
>> accidental fallthrough bugs. It didn't involve any new syntax, and
>> changed very little existing code. Anything which violates either of
>> those things has very little chance of acceptance. You've done a patch
>> which completely ignores his proposal, and which violates both.
>>
>
> Sorry I didn't know about Andrei's proposal. Buried in the NG.
>
> Why didn't you just say that Andrei made another proposal and that
> you're peeved I didn't use it?
Guys, guys. I don't even think I made that proposal, I'm pretty sure it
has been discussed before around this newsgroup.
Anyway, I think Chad's proposal has not been discussed here before being
implemented, which makes it more difficult to accept. On the other hand,
the fact that Chad implemented a change to switch means that he has a
good understanding of the implementation, meaning he could adjust his
patch to implement whichever design we all agree is suitable.
Andrei
More information about the Digitalmars-d
mailing list