Detector for unused variables
Andre Tampubolon
andre at lc.vlsm.org
Wed Aug 1 04:03:01 PDT 2012
The Go compiler is able to detect unused variables, and strangely they
are regarded as an error.
On 8/1/2012 5:38 PM, bearophile wrote:
> Detecting unused variables is a core feature, it belongs in the
> compiler, like compile-time array bound tests and other errors currently
> detected by DMD. This allows everyone to use it with minimum work, so
> everyone enjoys it, and it requires less work to be implemented because
> the compiler already does lot of analysis.
>
> Bye,
> bearophile
More information about the Digitalmars-d-learn
mailing list