you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 9 months 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.

  • source
  • parent