Docs: Section on local variables
H. S. Teoh
hsteoh at quickfur.ath.cx
Wed Apr 25 14:16:34 PDT 2012
On Wed, Apr 25, 2012 at 04:03:04PM -0400, Jonathan M Davis wrote:
[...]
> increasingly I agree with Walter's take on warnings (that they
> shouldn't exist at all - something is an error or it isn't; none of
> this halfway stuff). Warnings are problematic in that a good
> programmer will _never_ leave them in their code and yet so many
> programmers do. So, they become useless noise. The _only_ advantage to
> them is that they can be used for stupid stuff like unreachable code,
> allowing you to leave warnings while editing code but remove them when
> your done. I don't really even like that though, truth be told.
[...]
The other advantage is that they let you identify code written by
incompetent programmers.
T
--
"No, John. I want formats that are actually useful, rather than
over-featured megaliths that address all questions by piling on
ridiculous internal links in forms which are hideously over-complex." --
Simon St. Laurent on xml-dev
More information about the Digitalmars-d-learn
mailing list