this post was submitted on 10 Aug 2024
587 points (97.1% liked)
Programmer Humor
19512 readers
347 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
best think like grug
grug even have whole section just for refactor code
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.
And 90% of the time, n is about 3
and 99.9% of the time it is less than 10
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
Programming is the gradual collection of mantras.
Finally, a development philosophy that sounds unambiguously correct.