4 ms·
Yeah, the same. I rewrite code until I'm happy with it. When starting new program, it might cause lots of time wasted because I might need to spend weeks rewrit
by vbezhenar 3y ago
Yeah, the same. I rewrite code until I'm happy with it. When starting new program, it might cause lots of time wasted because I might need to spend weeks rewriting and re-tossing everything until I feel I got it good enough. Tried to do it faster, but I just can't. The only way is to write a working code and reflect on it.
My only optimization of this process is to use Java and not just throw out everything, but keep refactoring. Idea allows for very quick and safe refactoring cycles, so I can iterate on overall architecture or any selected components.
I really envy on people who can get it right first time. I just can't, despite having 20 years of programming under my seat. And when time is tight and I need to accept obviously bad design, that what makes me burning out.
- shuvuvt5 3y agoNobody gets it right the first time. Good design evolves from knowing the problem space. Until you've explored it you don't know it. I've seen some really good systems that have been built in one shot. They were all ground up rewrites of other very well known but fatally flawed systems. And even then, within them, much of the architecture had to be reworked or also had some other trade off that had to be made.