My simple rule of programming is to code the worst-possible solution at the beginning and improve from there step by step.
This is also a great way to stop procrastinating and start projects.
Relevant quote:
"He who has begun has half done. Dare to be wise; begin!" - Horace