The "Deadly Sins" from P. J. Brown's Writing Interactive Compilers and Interpreters Wiley 1979. We've committed them all at least once in GCC.
The deadly sins are:
- to code before you think.
- to assume the user has all the knowledge the compiler writer has.
- to not write proper documentation.
- to ignore language standards.
- to treat error diagnosis as an afterthought.
- to equate the unlikely with the impossible.
- to make the encoding of the compiler dependent on its data formats.
- to use numbers for objects that are not numbers.
- to pretend you are catering to everyone at the same time.
to have no strategy for processing break-ins.
- (A break-in is when you interrupt an interactive compiler, and then possibly continue it later. This is meaningful in an environment in which the compiler is run dynamically, such as many LISP and some BASIC environments. It is not meaningful for typical uses of C/C++ (although there was at least one interactive C environment according to Chris Lattner).)
- to rate the beauty of mathematics above the usability of your compiler.
- to let any error go undetected.
- to leave users to find the errors in your compiler.