this post was submitted on 08 Apr 2025
735 points (98.4% liked)

Programmer Humor

22403 readers
3407 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
[โ€“] qarbone@lemmy.world 9 points 6 days ago (1 children)

Then give them some code and tell them to explain it. Having testees regurgitate algorithm implementations from memory is just testing rote memory.

I thought we had all lived through terrible public schools that just tested memory, and resolved to do better.

[โ€“] BombOmOm@lemmy.world 2 points 6 days ago* (last edited 6 days ago)

Yeah, it's a solved problem. I'm going to call the library's default sort and move on. If it somehow is a problem, I'll revisit later.

Now, optimizing database calls, fixing (and avoiding!) security holes, writing tests that don't take forever to run, writing functions so they can be easily re-used later, and not duplicating code. Now there are some skills!

"It's faster if we make a duplicate of this function and change this section, then we can move onto other things"

"No it's much slower, because your code review just came back telling you to throw that idea in the garbage and do it right"