this post was submitted on 30 Nov 2023
169 points (100.0% liked)

Programmer Humor

25484 readers
1816 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
[–] Kalkaline@leminal.space 0 points 2 years ago* (last edited 2 years ago) (2 children)

God damn, whoever came up with that is clever. I would have never come up with that on my own.

[–] jmcs@discuss.tchncs.de 1 points 2 years ago

What if you had to guess a number between 0 and 100 and the other person (or an application) only told you if the number is bigger or smaller? That's the form that's usually presented to CS students and most people end up figuring it out on their own. Then the trick is knowing how to generalize it.

[–] glibg10b@lemmy.ml 1 points 2 years ago

Without binary search, we would not have search engines today