this post was submitted on 28 Sep 2024
705 points (96.1% liked)

Programmer Humor

19652 readers
2305 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
705
Sometimes, it's backwards (sh.itjust.works)
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/programmer_humor
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 7 points 1 month ago (1 children)

We have a table with literally three columns. One is an id, another a filename and a third a path. Guess which one was picked as the primary key?

Never seen something so stupid in 28 years of computing. Including my studies.

[โ€“] [email protected] 3 points 1 month ago

Well, you don't want to waste space by adding the same file path twice