3 ms·
My rewrites always end up much smaller than my original rushed implementations. I think it comes down to a few reasons * I get better at writing code. * Better
by efxhoy 7y ago
My rewrites always end up much smaller than my original rushed implementations. I think it comes down to a few reasons
* I get better at writing code.
* Better understanding of the problem, the feedback from the first iteration usually tells me what the code actually had to do, not what my boss thought it needed to do.
* A working but messy and bloated first iteration shows me that I can solve the problem at all, the rewrite let's me do it with some grace.
The hard part is minimizing the time spent on the first messy implementation so more work can go into the good final iteration.