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

Programmer Humor

19817 readers
60 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
[–] 0x4E4F@sh.itjust.works 22 points 2 months ago (1 children)

Yep, unrealistic expectations.

Or "you need a 12th gen i7 to run this thing"... the thing is a glorified Avidemux.

[–] UnderpantsWeevil@lemmy.world 24 points 2 months ago (2 children)

Christ, if you could see the abysmal efficiency of business tier SQL code being churned out in the Lowest Bidder mines overseas...

Using a few terrabytes of memory and a stack of processors as high as my knee so they can recreate Excel in a badly rendered .aspx page built in 2003.

[–] 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

[–] ugo@feddit.it 2 points 2 months ago (1 children)

As a dev, I had to fix an O( n! ) algorithm once because the outsourced developer that wrote it had no clue about anything. This algorithm was making database queries. To an on-device database, granted, so no network requests, but jesus christ man. I questioned the sanity of the world that time, and haven’t stopped since.

[–] UnderpantsWeevil@lemmy.world 1 points 2 months ago

Oh yeah, I love people who stick SQL lookups in a For Loop. Even better, the coder who puts conditional if (but no then/else) clauses around a dozen raw text execution commands that fire in sequence. So you're making six distinct lookups per iteration rather than answering your question in a single query and referencing the results from memory.

Internal screaming