News for hackers. Stuff that matters.
Re:OOP in C by l- on Sunday January 08, 2023 @02:00PM (#34301942)
> You need to use a void* self pointer

Where there is a will there are pointers to function pointers: https://stackoverflow.com/questions/4393716/is-there-a-a-way...

A closure is a poor man’s object; an object is a poor man’s closure” (2003) https://news.ycombinator.com/item?id=14235020

There are no comments on this comment yet.