this post was submitted on 27 May 2025
668 points (99.4% liked)

Programmer Humor

23899 readers
676 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
[–] HiddenLayer555@lemmy.ml 40 points 1 week ago (2 children)

When you write code for a "runtime" that wasn't intended to run your code.

https://www.youtube.com/watch?v=8Dcj19KGKWM

[–] pooberbee@lemmy.ml 35 points 1 week ago (1 children)

Seems like not a real programming paradigm, and I don't mean in a No True Scotsman way. It really is in a separate category of thing. Could've said logic programming or stack-oriented programming.

[–] HiddenLayer555@lemmy.ml 9 points 1 week ago* (last edited 1 week ago) (2 children)

Yeah fair enough now that I think more about it. IDK I just find the concept really cool so I included it.

[–] Aatube@kbin.melroy.org 8 points 1 week ago (1 children)

you could've had declarative (e.g. ReactJS, Jetpack Compose) lol

[–] abbadon420@lemm.ee 1 points 1 week ago
[–] barsoap@lemm.ee 7 points 1 week ago

It's fine memes are permitted to make jokes and it's more of a paradigm than vibe coding.

The one paradigm that's actually missing is logic programming, I would've gotten rid of unstructured to include it. The whole paradigm thing really only started with Dijkstra's rant about unstructured gotos (not the ones C has, in C you can't jump to the middle of another function).

[–] Speiser0@feddit.org 13 points 1 week ago

When you write code for a “runtime” that wasn’t intended to run your code.

That definition would be too broad, as includes any type of exploit.

In ROP, you modify the stack to write return addresses and then return to jump to the first of these addresses, the return addresses go to parts of the executable that end with a return instruction (gadgets), so it will always return to the next of your return address.

(That video is maybe not the easiest introduction to ROP.)

Having ROP in here as normal programming paradigm, as opposed to vibe coding, made the meme so much better.