Am 25.02.2014 13:48, schrieb Dicebot:
On Tuesday, 25 February 2014 at 11:20:37 UTC, bearophile wrote:
Currently the D compiler catches several bugs that are caught only by
C lints. Clang shows that you can add lot of lint-like tests to the
compiler. I'd like some more tests in the D compiler.


Full stop. It should be other way around - remove all such arguable
warnings from compiler to dedicated lint tool and never add any single
one to compiler.

Yeah, it worked really great for C.

Developers created C compilers in other systems and never ported lint
as part of the process.

End result being a portable macro assembler, as safe as, writing in pure assembly.

--
Paulo

Reply via email to