this post was submitted on 03 Dec 2025
721 points (99.0% liked)

Programmer Humor

27635 readers
1446 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
 
top 50 comments
sorted by: hot top controversial new old
[–] whotookkarl@lemmy.dbzer0.com 4 points 1 hour ago (1 children)

The most consistent and highest paying jobs I've had are replacing or fixing legacy and garbage systems. I don't think the current gen llm's are anywhere close to being able to do those jobs, and is in fact causing those jobs to have more work the more insecure, inefficient trash they generate.

[–] dejected_warp_core@lemmy.world 2 points 43 minutes ago* (last edited 41 minutes ago)

Fellow tech-trash-disposal-engineer here. I've made a killing on replacing corporate anti-patterns. My career features such hits and old-time classics like:

  • email as workflow
  • email as version control
  • email as project management
  • email as literally anything other than email
  • excel as an relational database
  • excel as project management
  • help, our wiki is out of control
  • U-drive as a multi-user collaboration solution
  • The CEO's nephew wrote this 8 years ago and we can't get rid of it

In all of these cases, there were always better answers that maybe just cost a little bit more. AI will absolutely cause some players to train-wreck their business, all to save a buck, and we'll all be there to help clean up. Count on it.

[–] myfunnyaccountname@lemmy.zip 12 points 5 hours ago (1 children)

I’m still waiting to be replaced by robots and computers.

[–] UnderpantsWeevil@lemmy.world 5 points 3 hours ago (1 children)

My company recently acquired another firm that tried to outsource the entire IT department and proceeded to shit itself to death.

Go ahead cowards. Replace me with a computer. I will become more powerful than you could ever imagine.

[–] myfunnyaccountname@lemmy.zip 3 points 1 hour ago

Feeling that. My company is off shoring and out sourcing a lot of stuff now. It’s a nightmare. But profits are up. So hey, who cares if the software is held together with hopes and dreams. And our hosted services admins don’t have a clue.

This is why I half ass things with AI. Mgmt clearly doesn’t care.

[–] melsaskca@lemmy.ca 18 points 6 hours ago (3 children)

When growing up in the 70's "computer programmers" were assumed to be geniuses. Nowadays they are maybe one tier above fast food workers. What a world!

[–] dejected_warp_core@lemmy.world 1 points 36 minutes ago

That environment was wild though. At the time, you basically needed to be an electrical engineer and/or a licensed HAM operator, just to have your head wrapped around how it all worked. Familiarity with the very electronics of the thing, even modifying the hardware directly when needed, was crucial to operating that old tech.

[–] UnderpantsWeevil@lemmy.world 9 points 3 hours ago (1 children)

Nowadays they are maybe one tier above fast food workers.

:-/

Having worked both jobs, I could point to a few differences

[–] Rooster326@programming.dev 7 points 1 hour ago* (last edited 1 hour ago)

Yeah fast food is a lot more stressful.

Every single job in my entire life I have made more money, and my workload has gotten easier. I am grateful everyday I escaped the trap. Very few do.

[–] sheogorath@lemmy.world 7 points 4 hours ago

Well to be fair if you're a programmer in the 70s you might as well be a genius.

[–] Surp@lemmy.world 11 points 6 hours ago

If only this wasn't becoming the agenda of big corporations...they are dropping jobs left and right and it's scary. Robots will be doing most of our jobs sooner than later...lookup flippy bot we won't even have entry level jobs soon and the problem is we're not doing this to become more like star trek. They are doing this to add seventeen more marble gold diamond pillars to their dogs puppies houses on their 9000 acre private islands.

[–] plyth@feddit.org 29 points 11 hours ago (4 children)

Explicit programmers are needed because the general public has failed to learn programming. Hiding the complexity behind nice interfaces makes it actually more difficult to understand programming.

This comes all from programmers using programs to abstract programming away.

What if the 2030s change the approach and use AI to teach everybody how to program?

[–] merc@sh.itjust.works 2 points 22 minutes ago

the general public has failed to learn programming

That's like saying that the general public has failed to learn surgery, or the general public has failed to learn chemical engineering.

There are certain things that it just doesn't make sense for the general public to ever be expected to learn.

[–] MysticKetchup@lemmy.world 3 points 1 hour ago

What if the 2030s change the approach and use AI to teach everybody how to program?

What does AI (already known to be an unreliable bullshitting machine) provide to students that existing tutorials, videos and teachers do not already?

Also the companies investing in AI are not trying to teach their workers to be better, they're trying to make more profit by replacing workers or artificially increasing their outputs. Teaching people to program is not what they care about

[–] Gremour@lemmy.world 11 points 6 hours ago

Hiding the complexity behind nice interfaces makes it actually more difficult to understand programming.

This is a very important point, that most of my colleagues with OOP background seem to miss. They build a bunch of abstractions and then say it's easy, because we have one liner in calling code, pretending that the rest of the code doesn't exist. Oh yes, it certainly exists! And needs to be maintained, too.

[–] Luccus@feddit.org 10 points 10 hours ago* (last edited 4 hours ago)

I find this to be a real problem with visual shaders. I know how certain mathematical formulas affect an input, but instead of just pressing the Enter key and writing it down, I now have to move blocks around, and oh no, they were nicely logically aligned, now one block is covering another block, oh noo, what a mess and the auto sort thing messes up the logical sorting completly… well too bad.

And I find that most solutions on the internet utilizing the visual editor tend to forget that previous outputs can be reused. Getting normals from already generated noise without resampling somehow becomes arcane knowledge.

Edit: words.

[–] Rusty@lemmy.ca 60 points 14 hours ago (2 children)

You can add SQL in the 70s. It was created to be human readable so business people could write sql queries themselves without programmers.

[–] ZILtoid1991@lemmy.world 16 points 11 hours ago (3 children)

So is COBOL.

(Is there any sane alternative to SQL?)

[–] Rooster326@programming.dev 1 points 1 hour ago

(Is there any sane alternative to SQL?)

Well there is our lord and savior, or so I'm told by many MBA(s), No SQL

Oh wait you said Sane. Nevermind.

[–] drasglaf@sh.itjust.works 8 points 11 hours ago (1 children)

(Is there any sane alternative to SQL?)

Yes, no SQL.

[–] marlowe221@lemmy.world 1 points 2 hours ago
[–] ChickenLadyLovesLife@lemmy.world 29 points 14 hours ago (3 children)

Ironically, one of the universal things I've noticed in programmers (myself included) is that newbie coders always go through a phase of thinking "why am I writing SQL? I'll write a set of classes to write the SQL for me!" resulting in a massively overcomplicated mess that is a hundred times harder to use (and maintain) than a simple SQL statement would be. The most hilarious example of this I ever saw was when I took over a young colleague's code base and found two classes named "OR.cs" and "AND.cs". All they did was take a String as a parameter, append " OR " or " AND " to it, and return it as the output. Very forward-thinking, in case the meanings of "OR" and "AND" were ever to change in future versions of SQL.

[–] merc@sh.itjust.works 2 points 32 minutes ago

I did that myself back in the day. Not overly complicated, but a SQL builder.

I think it's because SQL is sort-of awkward. For basic uses you can take a SQL query string and substitute some parameters in that string. But, that one query isn't going to cover all your use cases. So, then you have at least 2 queries which are fairly similar but not similar enough that it makes sense just to do string substitutions. Two strings that are fairly similar but distinct suggests that you should refactor it. But, maybe you only make a very simple query builder. Then you have 5 queries and your query builder doesn't quite cover the latest version, so you refactor it again.

But, instead of creating a whole query builder, it's often better to have a lot of SQL repetition in the codebase. It looks ugly, but it's probably much more maintainable.

[–] jacksilver@lemmy.world 18 points 14 hours ago (4 children)

Object Relational Mapping can be helpful when dealing with larger codebases/complex databases for simply creating a more programmatic way of interacting with your data.

I can't say it is always worth it, nor does it always make things simpler, but it can help.

[–] ricecake@sh.itjust.works 2 points 1 hour ago

My standard for an orm is that if it's doing something wrong or I need to do something special that it's trivial to move it aside and either use plain SQL or it's SQL generator myself.

In production code, plain SQL strings are a concern for me since they're subject to the whole array of human errors and vulnerabilities.

Something like stmt = select(users).where(users.c.name == 'somename') is basically as flexible as the string, but it's not going to forget a quote or neglect to use SQL escaping or parametrize the query.

And sometimes you just need it to get out of the way because your query is reaaaaaal weird, although at that point a view you wrap with the orm might be better.

If you've done things right though, most of the time you'll be doing simple primary key lookups and joins with a few filters at most.

[–] nilloc@discuss.tchncs.de 5 points 5 hours ago

I used to use ORMs because they made switching between local dev DBs ( like SQLLite, or Postgres) and production DBs usually painless. Especially for Ruby/Sinatra/Rails since we were writing the model queries in another abstraction. It meant we didn’t have to think as much about joins and all that stuff. Until the performance went to shit and you had to work out why.

[–] trxxruraxvr@lemmy.world 9 points 12 hours ago (2 children)

I don't have a lot of experience with projects that use ORMs, but from what I've seen it's usually not worth it. They tend to make developers lazy and create things where every query fetches half the database when they only need one or two columns from a single row.

Yeah. Unless your data model is dead simple, you will end up not only needing to know this additional framework, but also how databases and SQL work to unfuck the inevitable problems.

[–] bort@sopuli.xyz 6 points 11 hours ago* (last edited 11 hours ago) (1 children)

the problem with ORM is that some people go all in on it and ignore pure SQL completely.

In reality ORM only works well for somewhat simple queries and structures, but at some times you will have to write your own queries in SQL. But then you have some bonus complexity, that comes from 2 different things filling the same niche. It's still worth it, but there is no free cake.

[–] elkien@lemmy.today 4 points 8 hours ago

I've always seen as that as a scapehatch for one of the most typical issues with ORMs, like the the N+1 problem, but I never fully bought it as a real solution.

Mainly because in large projects this gets abused (turns out none or little of the SQL has a companion test) and one of the most oversold benefits of ORMs (the possibility of "easily" refactor the model) goes away.

Since SQL is code and should be tested like any other code, I rather ditch the whole ORM thing and go SQL from the beginning. It may be annoying for simple queries but induces better habits.

load more comments (1 replies)
load more comments
view more: next ›