I honestly believe the statement "clean code" is relative to your programming experience at that particular time.
As you get more experienced in programming you learn new and better ways to write or refactor your old code.
I do believe as a programmer you do your best to write code right based on the best principles you know at that particular time. One should avoid writing code that just works but code that works and beautiful too,