this post was submitted on 24 Oct 2025
201 points (98.6% liked)

Programmer Humor

27127 readers
2529 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
[โ€“] steventhedev@lemmy.world 8 points 1 week ago (1 children)

An object is a poor man's closure.

A closure is a poor man's object.

These are two sides of the same coin, and both of them miss the point. You should be dealing with scale, and you should use a language that allows you to concisely describe how to compute large amounts of data easily. The best part is that once you start writing APL, you'll feel like a wizard.

[โ€“] frezik@lemmy.blahaj.zone 1 points 6 days ago* (last edited 6 days 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.