Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

My simple rule of programming is to code the worst-possible solution at the beginning and improve from there step by step.


1000%. The number of times I’ve tried to go straight to the correct well factored abstraction and it worked out are countable on one hand. This is one of those pieces of advise that I know to be true yet it takes continuous effort to enact.


Exactly. I weakened my problem-solving skills in chasing the best-possible solution every time on the first try.


> code the worst-possible solution

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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: