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

Programmer Humor

19572 readers
1589 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
[–] [email protected] 59 points 3 months ago (6 children)
[–] [email protected] 25 points 3 months 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.

[–] [email protected] 23 points 3 months 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.

[–] [email protected] 1 points 3 months ago

And 90% of the time, n is about 3

load more comments (4 replies)