3 ms·
You can always go through and clever up the two or three complex loops that will actually create a substantial performance benefit. But leave the rest of them d
by hinkley 5y ago
You can always go through and clever up the two or three complex loops that will actually create a substantial performance benefit. But leave the rest of them dead boring.
I think a lot of times we write code as if this is the final form it's going to be in. Five features later, we're hardly going to recognize it, and each change is a wedge that can open up a chink in the logic and introduce a nasty bug. If you start clever, there's nowhere to go but down.
- couchand 5y agoUnfortunately we're terrible at prediction. The code you spent all night getting clever with gets rewritten next week, but the code you just threw together survives until the new platform, when it gets ported directly because nobody remembers why it was written like that.