DRY (Don't Repeat Yourself): The highest pride for both human and AI programmers.
KISS (Keep it Simple Sweetheart): Simplicity is the ultimate sophistication.
Do not leave commented code behind. Always remove unused code. Code is cheap - context (cognitive load) is expensive.