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

Programmer Humor

19331 readers
36 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
678
Sometimes, it's backwards (sh.itjust.works)
submitted 2 weeks ago* (last edited 2 weeks ago) by [email protected] to c/[email protected]
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 6 points 2 weeks 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 2 weeks ago

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