this post was submitted on 19 Nov 2025
336 points (92.9% liked)

Programmer Humor

27391 readers
1782 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
[–] 9point6@lemmy.world 111 points 20 hours ago (1 children)
[–] navi@lemmy.tespia.org 20 points 15 hours ago

delusion was added in C++24 and we are stuck in C++03 😭

[–] BrokenGlepnir@lemmy.world 44 points 16 hours ago

As a c++ professor, I would never lie to my students like this.

[–] AngularViscosity@piefed.social 42 points 19 hours ago (1 children)

Whew! Thankfully I'm a gay JavaScript user

[–] Masterkraft0r@discuss.tchncs.de 38 points 19 hours ago* (last edited 19 hours ago) (3 children)

everybody on the internet is a javascript user! do you even develop, bro?

[–] AngularViscosity@piefed.social 21 points 19 hours ago

I guess I pretend to with limp wrists.

[–] Pissmidget@lemmy.world 8 points 19 hours ago (1 children)

Is that why people keep calling each other gay online?

[–] 0ops@piefed.zip 11 points 15 hours ago (1 children)

They're putting scripting in the webpages, that TURNS THE FRICKEN USERS GAY

load more comments (1 replies)
load more comments (1 replies)
[–] Jankatarch@lemmy.world 31 points 15 hours ago* (last edited 15 hours ago) (6 children)

C++ lets you assign variables with <%%> in case your parents were killed by an equals sign.

collapsed inline media

[–] entwine@programming.dev 10 points 14 hours ago (1 children)

TIL about bat! Looks awesome!

load more comments (1 replies)
[–] blobchoice@feddit.uk 6 points 14 hours ago

Finally, someone gets it

I have the perfect module to use this once. Most people will see it and will figure out that it is doing what it should, but no one can change it because the file will be LFS locked like 99% of the time.

load more comments (3 replies)
[–] FilthyShrooms@lemmy.world 26 points 14 hours ago (3 children)

MatLab user

I like how it doesn't say "coder" because everyone knows MatLab isn't a real programming language

[–] mcv@lemmy.zip 8 points 13 hours ago (1 children)

It's realer than vine coding.

load more comments (1 replies)
[–] mnemonicmonkeys@sh.itjust.works 6 points 13 hours ago (4 children)
[–] goatinspace@feddit.org 8 points 13 hours ago (1 children)

Shadow that is cast by the sins of men

load more comments (1 replies)
load more comments (3 replies)
load more comments (1 replies)
[–] TheLeadenSea@sh.itjust.works 24 points 20 hours ago
[–] QueenMidna@lemmy.ca 22 points 14 hours ago (1 children)

Am a trans Rust developer. Can confirm.

[–] missfrizzle@discuss.tchncs.de 9 points 12 hours ago (2 children)

I'm old and remember when all the trans women were Haskellers. now they've all moved to Rust and here I am, still toiling away with my monads and combinators, a lonely spinster. 😔

load more comments (2 replies)
[–] atopi@piefed.blahaj.zone 21 points 12 hours ago (2 children)

I am trans

Do i need to learn rust?

[–] thevoidzero@lemmy.world 22 points 10 hours ago (2 children)

I'm a rust developer, do I need to transition?

[–] atopi@piefed.blahaj.zone 8 points 10 hours ago* (last edited 10 hours ago) (1 children)
[–] thevoidzero@lemmy.world 11 points 9 hours ago

Good read, thanks

But I believe in generics, just write your functions so that it can work with all the types ;)

translation: Just get rid of what is a boy or a girl thing. Just let people do what they like.

load more comments (1 replies)
[–] FosterMolasses@leminal.space 10 points 11 hours ago

Only if you like women

[–] rizzothesmall@sh.itjust.works 19 points 12 hours ago

Let's not go referring to vibe coders as developers, now.

[–] saltesc@lemmy.world 19 points 19 hours ago* (last edited 19 hours ago) (13 children)

SQL enjoyer?

Every time I use it I feels like I'm going back to the 90s. No variables, no functions; Oh but you can do a CTE or subquery.......👍

UNION ALL, UNION ALL, UNION ALL... "There's got to be a better way, surely..."

looks up better way

"Oh, what the fuck?!.... Nope, this will just be quicker..." UNION ALL, UNION ALL, UNION ALL...

Join in a table sharing column names... Everything breaks. You gotta put the new prefixes in front of all the headers you called in now. In every select, in every where, etc... Which is weird because that kinda works like a variable and it's fine...

"When you see this little piece of text, it means all this, got it?"

"Okay. Yep. Easy."

"So why can't you do that with expressions?"

SQL SCREAMS MANICALLY

"Okay, okay, okay!... Jesus..."

And then you try put a MAX in a where and it won't let you because you gotta pull all the maxes out in their own query, make a table, join them in, and use them like a filter...

I hate it. It has speed, when you can finally run the script, but everything up to that is so...ugh.

[–] jjjalljs@ttrpg.network 14 points 16 hours ago* (last edited 16 hours ago)

Personally I feel like SQL syntax is upside down, and things are used before they are defined.

SELECT 
a.id -- what the fuck is a?
, a.name
, b.city -- and b??
from users a -- oh 
join city b on a.id = b.user_id -- oh here's b

I'd expect it to instead be like

From users a
join city b on a.id = b.user_id
SELECT
a.id,
a.name,
b.city
[–] DarkAngelofMusic@lemmy.sdf.org 10 points 18 hours ago (2 children)

While I agree that "SQL Enjoyer" seems like a weird category, I personally love SQL. I've been using it professionally for over 20 years, and I've yet to encounter a more elegant, efficient, and practical language for handling data in a relational database. Every attempt I've seen to replace it with something simpler has fallen far short.

Which database systems were you dealing with, that didn't allow variables? My personal favorite is PostgreSQL, which does allow them on scripting languages, such as PLPGSQL.

[–] Jesus_666@lemmy.world 11 points 18 hours ago (1 children)

See, I don't have to worry about such details. I work in corporate software dev, which means that everything is an MSSQL database where most of the tables contain only an ID of a table-specific format and a JSON blob. Why use an ORM when you can badly reimplement NoSQL in a relational database instead?

[–] Quill7513@slrpnk.net 7 points 18 hours ago

hey hey, there there. don't worry. most of the major NoSQL DBs implement just as horrible of travesties

[–] sp3ctr4l@lemmy.dbzer0.com 6 points 18 hours ago

Yep.

PostgreSQL is where its at, everybody else just hasn't figured that out yet.

[–] marcos@lemmy.world 7 points 15 hours ago

It seems that you need to get better. There are plenty of valid complaints against SQL, but your problems seem to be all due to lack of familiarity.

No variables, no functions; Oh but you can do a CTE

Yeah, CTEs are more expressive than variables. And as somebody pointed, every database out there supports functions, you may want to look how they work.

UNION ALL, UNION ALL, UNION ALL… “There’s got to be a better way, surely…”

What do you mean by a "better way"? Union all is a perfectly valid operation.

And then you try put a MAX in a where and it won’t let you because you gotta pull all the maxes out in their own query, make a table, join them in, and use them like a filter…

Window functions exist.

[–] expr@programming.dev 6 points 16 hours ago

No variables, no functions

Every major SQL implementation includes both of those things. Of course, it's rarely needed or desirable if you know how to properly write SQL.

"So why can't you do that with expressions?"

You can alias expressions.

And then you try put a MAX in a where and it won't let you because you gotta pull all the maxes out in their own query, make a table, join them in, and use them like a filter...

Wtf are you talking about? For one, filtering by the output of an aggregate is what the HAVING clause is for. But even if that didn't exist, you could just use a subquery instead. You don't need to make table...

Tbh it just sounds like you don't know SQL very well. Which is fine, but doesn't make for a very compelling criticism. SQL does have warts (even though it's great overall), but none of what you described are real problems.

load more comments (9 replies)
[–] captainlezbian@lemmy.world 15 points 14 hours ago

The word for R Studio fan is "scientist"

[–] sunoc@sh.itjust.works 15 points 19 hours ago
[–] Scoopta@programming.dev 14 points 15 hours ago (1 children)

C++, ew, no thanks, also where is C??

[–] entwine@programming.dev 7 points 14 hours ago (1 children)

You can't spell "INCEL" without "C"

[–] Scoopta@programming.dev 6 points 12 hours ago

😭😭😭😭

[–] sexy_peach@feddit.org 14 points 20 hours ago
[–] palordrolap@fedia.io 13 points 17 hours ago (3 children)

Me, looking between a picture of Bjarne Stroustrup and OP: ... are you sure about that?

load more comments (3 replies)
[–] baltakatei@sopuli.xyz 8 points 16 hours ago

I expected circular arrows pointing back towards themselves for many on the diagram.

[–] falseWhite@lemmy.world 8 points 19 hours ago (1 children)

Everyone using the web are JavaScript users, but what about JavaScript developers?

load more comments (1 replies)
[–] BlameTheAntifa@lemmy.world 7 points 15 hours ago

I do find C++ and Rust very attractive. I’m sure some of the other languages have very nice personalities, though.

having a C# dev boyfriend would be such a boon. "hey honeyyy? unity is not doing what I want it to, can you be my rubber ducky? <3" Wait, I remebered I am using Unreal/ C++ now. Nevermind. 10/10 accurate diagram.

[–] umbraroze@slrpnk.net 6 points 19 hours ago (2 children)

Yeah I wouldn't date an RStudio user. Real men do their R coding in Jupyter.

load more comments (2 replies)
[–] ButteryMonkey@piefed.social 6 points 14 hours ago (1 children)

RStudio and SQL are the only ones of those things I’m aware of having experience with (no idea what language rimworld is coded in, but I’ve also only read that, not tried to modify it).

But if some dude wanted to spend a bunch of time and energy to teach me all about their burning passion language or whatever, that’d be pretty hot. Maybe not JavaScript.. ;)

Not in a “dick me down immediately” sort of way, ofc, but in a “mmmm sexy brain and sexy willingness to teach complicated stuff” sort of way. And really to me that’s a solid spring-board to “dick me down immediately” territory.

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