Re:Classes vs. Data Structures
by roelschroeven on Tuesday June 18, 2019 @05:22AM
(#20210923)
> The author is not using "data structure" with the standard Computer Science meaning, but as C language struct.
The text would have been a lot clearer if that would have been more explicit from the beginning!
If you bother to take a look to C APIs, you'll find the familiar "handle" parameter, equivalent to the "this" or "self" of OO languages. Setting aside all the philosophical mumbo jumbo, OO is syntactic sugar over those interfaces.