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

Programmer Humor

19817 readers
521 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
[โ€“] fibojoly@sh.itjust.works 7 points 2 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.

[โ€“] UnderpantsWeevil@lemmy.world 3 points 2 months ago

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