Inside the switch statement

Ary Borenszweig ary at esperanto.org.ar
Tue Jun 9 12:36:25 PDT 2009


Saaa wrote:
>>>> What's wrong with that?
>>> Doesn't support B :)
>>>
>>> How about a warning instead?
>> The idea is that it not supporting B is something good.
> I know this is your idea, but as BCS doesn't support this idea.

How do you know? BCS didn't reply to my idea.

> You should have replied to him iso grauzone.
> 
> I personally never had any problems with falling through.
> The IDE  ( descent :) indents it nicely.
> 
> 
>> An error is ok, and if you want to translate C code then it's really easy 
>> to change the code to not give errors.
> 
> I don't think you will get that, thus maybe a warning is better than 
> nothing?

A warning *is* nothing. :-P


More information about the Digitalmars-d-learn mailing list