Monday, July 10, 2006

The Five Rules of Compilation

The complete rules for a compilator based on these three rules:

0. Security: A compiler may not harm any resource or running application.
1. Correctness: A compiler may not harm a source program.
2. Efficiency: A compiler must be fast, except where speed would conflict with the first law.
3. Friendliness: A compiler must assist the user to correct programming errors, as long as such assistance does not conflict with the first and second laws.
4. Informative: A compiler must establish its identiy as the accurate compiler in all cases.
5. Specificness: A compiler must know it is a compiler

Asimov's rules of robotics.