Comment by sirkarthik

8 years ago

I've witnessed the unfortunate consequences when each of these rules were violated.

I've seen kludgy code when Rules 1 and 2 are violated for instance.

Employing Fancy algorithms to look good among peers, leaving behind buggy and maintainable code.

Rule 5 violation is deceptive. Often one can get it right with right understanding of business use-case.

The worst part is not the violation of these rules but the developer's chest-thumping with pride for writing seemingly intelligent code :-/