grug even have whole section just for refactor code
inexperienced 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.
New code is O(n log n), but the time benefits only kicks in when n is above 1 trillion. Otherwise it’s much slower.
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