223
you are viewing a single comment's thread
view the rest of the comments
[-] frezik@lemmy.blahaj.zone 1 points 1 month ago* (last edited 1 month ago)

Right. A closure can be thought of as an object with a single method.

Alternatively, the core of OOP is objects sending messages to other objects. There are a lot of different ways to do that. A micocontroller sending "begin " to another microcontroller over SPI is OOP. At some point, the way C++ does things became the way to do OOP, and that was a narrow minded mistake.

this post was submitted on 24 Oct 2025
223 points (98.7% liked)

Programmer Humor

27945 readers
466 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