Facebook open sources flint, a C++ linter written in D

Dicebot public at dicebot.lv
Tue Feb 25 09:09:51 PST 2014


On Tuesday, 25 February 2014 at 16:07:34 UTC, bearophile wrote:
> Programming is not a black/white thing 
> (http://en.wiktionary.org/wiki/Manichaean#Adjective ) :-)

Which is exactly why you can't put this stuff into compiler - 
providing comparable amount of cofigurability as expected from 
dedicated lint tool will considerably complicate it. And sticking 
no non-configurable defaults is akin to -Werror in C: either you 
enable it and pollute your code with hacks to prevent triggerring 
of warnings in rare legit cases or just ignore for most time.


More information about the Digitalmars-d-announce mailing list