this post was submitted on 10 Aug 2024
576 points (97.2% liked)

Programmer Humor

19176 readers
957 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

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] 48954246@lemmy.world 60 points 1 month ago (3 children)
[–] popcar2@programming.dev 25 points 1 month ago (1 children)

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.

[–] magic_lobster_party@kbin.run 23 points 1 month ago (1 children)

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.

[–] Beanie@programming.dev 2 points 1 month ago (1 children)

And 90% of the time, n is about 3

[–] jdeath@lemm.ee 1 points 1 month ago

and 99.9% of the time it is less than 10

[–] petey@aussie.zone 21 points 1 month ago (1 children)

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

[–] mindbleach@sh.itjust.works 4 points 1 month ago

Programming is the gradual collection of mantras.

[–] CanadaPlus@lemmy.sdf.org 8 points 1 month ago

Finally, a development philosophy that sounds unambiguously correct.