On Thursday, 29 May 2014 at 20:49:04 UTC, bearophile wrote:
Dicebot:

unused variables are job for dscanner

Unused variables/labels/arguments and unused last assignments are often flags for code problems (but the ones in the function/class you are writing now). I like how such tests are done by the GCC/Clang compilers.

And even more often those are side effect of active debugging and indicate no issues.

signed-unsigned comparison should be an error, not warning

I don't know if Rust does this. But isn't it a little late for D? And aren't such errors going to introduce even more dangerous casts?

If it is late for an error, it is late for a warning too. Thus -> DScanner.

You are very unlikely to convince me there is even a single legitimate use case for warnings other than deprecation cycle ;)

Reply via email to