Afraid of buikding due to technical debt
Posted by 4r73m190r0s@reddit | learnprogramming | View on Reddit | 9 comments
I'm often stuck, paralyzed and unable to start building projects I want due to fear of a technical debt. I'm constantly afraid that there is a better or optimal solution and by not knowing it, I will be stuck in the future with huge technical debt that only complete rewrite could solve. Anyone feeling the same? How do I escape this?
DrShocker@reddit
Intentionalally write bad code so that you have something that works. That way you're doing things instead of not doing things. If you wrote it once, you can mostly just rewrite it later if it really is such a problem.
aqua_regis@reddit
A failed attempt is a learning experience. An attempt not taken is a lost chance forever.
If you never do, you will never improve and as such might as well directly give up.
How could you possibly improve your skills if you do not actively program? You won't.
FlashyResist5@reddit
Stop being scared.
JGhostThing@reddit
Programs should be rewritten every couple of versions.
There is a saying, "Perfect is the enemy of good enough." In other words, if you wait for the perfect solution, you'll never write anything. It's better to have an imperfect application than not to have the application at all.
Most programmers fall into this mindset. This will eventually pass with experience.
Traditional_Crazy200@reddit
Think for 2 - 5 minutes: how do I want this class/function to act and then just write it. Dont write what you dont need, dont make it too abstract, make it do the job.
theofficialnar@reddit
There’s no escaping technical debt, the earlier you accept that the better.
aanzeijar@reddit
You don't escape this. I still produce tech debt. Just less than when I was starting out.
If you can, bounce your code and ideas with an experienced coder, they will catch the expensive mistakes early and tell you to change it. But perfection doesn't exist in our craft.
dkarlovi@reddit
Technical debt is part of building. If you build and get users, now you have a reason to fix it. If you don't build, you don't get users.
Beregolas@reddit
You accept that you will make mistakes, and that some amount of technical debt is inevitable.
Sometimes good enough is good enough, and the only thing you know for sure is worse than something you have written, is something you have never written.