Next:Parameters, Previous:Static Analyzer, Up:Introduction [Contents][Index]
To borrow a slogan fromElm,
Compilers should be assistants, not adversaries. A compiler shouldnot just detect bugs, it should then help you understand why there is a bug.It should not berate you in a robot voice, it should give you specific hintsthat help you write better code. Ultimately, a compiler should makeprogramming faster and more fun!
This chapter provides guidelines on how to implement diagnostics andcommand-line options in ways that we hope achieve the above ideal.