Should masked exceptions be an error?

Denis Koroskin 2korden at gmail.com
Tue Nov 24 07:32:54 PST 2009


On Tue, 24 Nov 2009 18:31:27 +0300, Nick Sabalausky <a at a.a> wrote:

> "Lars T. Kyllingstad" <public at kyllingen.NOSPAMnet> wrote in message
> news:heg9jk$7f3$1 at digitalmars.com...
>>
>> I think the spec should state as a general rule that unreachable code is
>> an error.
>
> Disagree very much with this. I don't want to have to carefully comment  
> out
> temporarily-dead code when I'm inserting debugging breaks and returns.
> That'd be a real PITA.
>
>

More or less I agree. That's what -w option is for.



More information about the Digitalmars-d mailing list