http://d.puremagic.com/issues/show_bug.cgi?id=6442



--- Comment #9 from bearophile_h...@eml.cc 2011-08-06 17:03:11 PDT ---
> John: It's pretty interesting how you always like the status quo

It's the way he is, everyone has the rights to be himself or herself. And ad
hominem attacks are out of place in Bugzilla.


> - I don't see a value in "final switch". I don't care that it's there, either.

If you switch on an emum, it gives you a nice error if later you add a new item
to the enum. Contrary to your proposal, this is a known source of bugs in C/C++
code.

By the way, I (vaguely) like this proposal, this is why I am commenting here.
But to add a feature like this, that has a (small but evident) costs, you must
somehow justify it. I agree it's hard to find such "proof".

And I think Jonathan is right, making its usage optional is probably going to
give troubles.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to