I always think you should write something at least twice. Usually while writing it the first time or after writing it the first time I realize the flaws in my design and redesign it to be much better after just one pass.
I laboriously figured out a solution for a complicated, highly technical problem over 6 months. Then I rewrote it all in a week to be simpler, faster and cover more cases.
You can't write properly formatted and working code in one go. Especially if it is complicated piece and you need to do trial and error. So writing working code first time and then redoing it is good.
2
u/InformationWooden246 Oct 22 '26
lol is it repost from r/godot ?
22
u/heyguysitsmedic Oct 22 '26
Writing your own code?? In this day and age?? And refactoring it on your own???? Blasphemy!
11
u/FallenVampireLord Oct 22 '26
I always think you should write something at least twice. Usually while writing it the first time or after writing it the first time I realize the flaws in my design and redesign it to be much better after just one pass.
5
u/ekauq2000 Oct 22 '26
Working first, pretty later.
5
u/Mystery-Magic Oct 22 '26
You can't write properly formatted and working code in one go. Especially if it is complicated piece and you need to do trial and error. So writing working code first time and then redoing it is good.
1
u/miheb1 Oct 22 '26
Yez my bro