Whatever 'Clean Code' you write now, it'll be shit eventually and in need of a complete rewrite
Whatever 'Clean Code' you write now, it'll be shit eventually and in need of a complete rewrite
You're viewing a single thread.
grug even have whole section just for refactor code
58 0 Replyinexperienced big brain developer see nested loop and often say "O(n^2)? Not on my watch!"
complexity demon spirit smile
This hits too close to home.
28 0 ReplyNew code is O(n log n), but the time benefits only kicks in when n is above 1 trillion. Otherwise it’s much slower.
24 0 ReplyAnd 90% of the time, n is about 3
2 0 Replyand 99.9% of the time it is less than 10
1 0 Reply
I feel like this is a perfect encapsulation of how an experienced self-aware developer thinks. Experience really beats the hard stances out of you. I find myself saying “it depends” and “a bit of column A, bit of column B” often, like a cheap kids toy
21 0 ReplyProgramming is the gradual collection of mantras.
4 1 Reply
Finally, a development philosophy that sounds unambiguously correct.
8 0 Reply