Google's Go & Exceptions
Nick Sabalausky
a at a.a
Sat Jan 30 11:57:33 PST 2010
"Walter Bright" <newshound1 at digitalmars.com> wrote in message
news:hk1v87$1pem$1 at digitalmars.com...
> John D wrote:
>> That said, a compiler that doesn't warn that variables or arguments have
>> gone unused in a function is not a good compiler. That said, a language
>> that doesn't enforce return val checking is not a good programming
>> language.
>
> I often have unused variables and such when developing and debugging code,
> and when using conditional compilation, and having the compiler nag me
> about them would be very irritating.
Only if they're fatal conditions. As non-fatal warnings that irritation
dissapears.
More information about the Digitalmars-d
mailing list