this post was submitted on 08 Apr 2025
737 points (98.4% liked)
Programmer Humor
22513 readers
1104 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
If it's about problem solving and using logic, why do we need to memorize quicksort? That's not an example of using logic or problem solving
You don’t need to memorize quicksort. If you understand how it works, it’s trivial to work out the exact details.
you can also 'trivially' derive the quadratic formula using completing the square, but does anybody actually do that instead of just memorizing the formula?
That depends on how often you use it. If I needed to write quicksort as often as the quadratic formula, I’d probably remember it. And if I only used the quadratic formula as often as I do quicksort, I’d just derive it each time.