this post was submitted on 10 Aug 2024
589 points (97.3% liked)

Programmer Humor

20763 readers
1699 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 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] 48954246@lemmy.world 61 points 6 months ago (7 children)
[–] popcar2@programming.dev 28 points 6 months ago (3 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 6 months ago (2 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 6 months ago (1 children)

And 90% of the time, n is about 3

[–] jdeath@lemm.ee 1 points 6 months ago

and 99.9% of the time it is less than 10

load more comments (3 replies)