Wish: Variable Not Used Warning

Nick Sabalausky a at a.a
Wed Jul 9 00:48:59 PDT 2008


"Walter Bright" <newshound1 at digitalmars.com> wrote in message 
news:g51k8s$102f$1 at digitalmars.com...
> The difference between lint and a compiler is people know lint is not a 
> compiler and do not worry about lint's complaints. Warnings in the 
> compiler are treated, in reality, like programming errors.
>

Ahh, now this appears to be the root of our differing opinions on this. I 
think I understand your reasoning behind this now, even though I still don't 
agree with it.

It sounds like (previously unknown to me) there's a rift between the reality 
of warnings and the perceptions that many programmers (excluding us) have 
about warnings. As I understand it, you consider it more important to design 
around common perceptions of warnings, even if they're mistaken perceptions 
(such as warnings, by definition, not actually being errors). My 
disagreement is that I consider it better to design around the realities, 
and use a more education-based approach (I don't necessarily mean school) to 
address misperceptions. Is this a fair assessment of your stance, or am I 
still misunderstanding?

If this is so, then our disagreement on this runs deeper than just the 
warnings themselves and exists on more of a "design-values" level, so I 
won't push this any further than to just simply note my disagreement. 





More information about the Digitalmars-d mailing list