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

Programmer Humor

27631 readers
1552 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
[–] Rusty@lemmy.ca 40 points 9 hours ago (10 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.

[–] ChickenLadyLovesLife@lemmy.world 18 points 9 hours ago (7 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.

[–] Clent@lemmy.dbzer0.com 1 points 7 hours ago

What part of this is irony?

load more comments (6 replies)
load more comments (8 replies)