this post was submitted on 19 Feb 2025
836 points (99.3% liked)

Programmer Humor

20743 readers
323 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
[–] [email protected] 3 points 2 days ago
[–] [email protected] 3 points 2 days ago

POV: ESL programmers

[–] [email protected] 8 points 2 days ago (1 children)

I want a programming language that supports German composite words.

My brother in Turing, that's just camel case.

[–] [email protected] 4 points 2 days ago* (last edited 2 days ago)

But you could go further. I want to be able to define an Auto and a Bahn, then immediately be able to go

new AutoBahn()
[–] [email protected] 5 points 2 days ago

Spring JPA Query methods are kind of like the composite words. You just declare a method with a name that describes the database query you want, and it generates the code and SQL for you.

https://docs.spring.io/spring-data/jpa/reference/jpa/query-methods.html

[–] [email protected] 9 points 2 days ago

Make enough C macro definitions and you can certainly do that, I did my final project in my high school programming class in the 90's like that, made macros to simulate QBasic syntax and then just wrote it in basic, the end result is the macros converted everything into valid C++ and it compiled fine. Fortunately my teacher for that class was cool, and he was amused by it and since it compiled with no warnings and did what it was supposed to do, I got full marks for it.

[–] [email protected] 15 points 3 days ago (1 children)

In college, we had to use Hungarian pseudocode. I still have PTSD from it, especially as the teacher was a psycho that had a meltdown every time her "how do you do fellow kids" moment terribly backfired, most infamously by putting Twilight references into a test (everybody audibly cringed reading the tests).

[–] [email protected] 8 points 2 days ago (1 children)

Support your teachers trying to be fun, at least it shows they care enough to put in more effort.
Also I'm curious how she managed to slide in Twilight references of all things in a programming class lol

[–] [email protected] 4 points 2 days ago

Yeah its kinda based lol

[–] [email protected] 7 points 3 days ago

Functional programming languages kind of are that way. Just chain together enough map calls

[–] [email protected] 9 points 3 days ago* (last edited 3 days ago)

Whoa, I was expecting just a light joke & was not prepared for this, lolwut.

I use VBA frequently, don't actually speak German, so I'll ofc try this. And none of my code was ever readable (weirdly lewd, but not fully making sense), so that's fine.

[–] [email protected] 2 points 3 days ago
load more comments
view more: next ›