About Go, D module naming

bearophile bearophileHUGS at lycos.com
Fri Dec 21 09:46:20 PST 2012


Jonathan M Davis:

> It also doesn't work with stuff like RAII and a lot of 
> conditional compilation.
> Particularly with eponymous templates, it's _very_ common to 
> have unused
> variables. Warnings or errors for unused variables would be 
> highly detrimental to D.

A warning for unused variables will also help D programmers avoid 
some bugs and keep their code tidy.

Bye,
bearophile


More information about the Digitalmars-d mailing list