All engineers write bad code. The best engineers think hard about how to refactor avoid the situation in the future.
“Excellence is never an accident. It is always the result of high intention, sincere effort, and intelligent execution; it represents the wise choice of many alternatives – choice, not chance, determines your destiny.” – Aristotle
Read more at The Full Stack