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

Programmer Humor

21680 readers
926 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
692
Sometimes, it's backwards (sh.itjust.works)
submitted 5 months ago* (last edited 5 months ago) by 0x4E4F to c/[email protected]
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] fibojoly 6 points 5 months 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 5 months ago

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