this post was submitted on 02 Aug 2024
357 points (97.3% liked)

Programmer Humor

31998 readers
745 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 12 comments
sorted by: hot top controversial new old
[–] [email protected] 62 points 1 month ago (1 children)
[–] [email protected] 10 points 1 month ago

O(unnecessary zoom meeting)

[–] [email protected] 37 points 1 month ago (1 children)

It's not like anyone cares once you have the job anyway

[–] [email protected] 30 points 1 month ago

Usually the most straightforward solution is good enough. And when you want to improve the performance, it’s rarely about time complexity.

[–] [email protected] 33 points 1 month ago

at job interview

"ah sure, I'll solve it in n log(n) for you with an obscure algorithm because n² is too slow for your 1000 customers, even though there's no perceived difference for n<10⁷."

[–] [email protected] 21 points 1 month ago* (last edited 1 month ago)

O(n!^n!^)

It works really well, until n=3, which takes a while. Don’t ask about n=4.

[–] [email protected] 20 points 1 month ago (2 children)

Acshually, in the context of O(N^2) N can be seen to constantly be equal to N and thus, as a constant, we can ignore it in our O analysis.

Yes, my bubble sort does run in O(1)

[–] [email protected] 6 points 1 month ago

Get out of my office

[–] [email protected] 4 points 1 month ago* (last edited 1 month ago)

Bubble sort? This wizard talk shall not pass.

My god, some of us can't read past select queries and v-lookup ruins.

On a Friday no less.

[–] [email protected] 10 points 1 month ago

We will also accept “I’ll file a ticket under the tech debt epic” (which will never get picked up unless/until it causes a prod outage/SLA violation)

[–] [email protected] 5 points 1 month ago
[–] [email protected] 4 points 1 month ago