News for hackers. Stuff that matters.
Re:OOP in C by Koshkin on Sunday January 08, 2023 @12:40PM (#34301156)
> I made a pre-processor

You followed the path of C++.

Re:OOP in C by AlbertoGP on Sunday January 08, 2023 @01:04PM (#34301407)
> You followed the path of C++.

To some extent yes, I know about cfront.

This is just another iteration on that old idea.

Re:OOP in C by KerrAvon on Sunday January 08, 2023 @03:22PM (#34302681)
Sure; you’re basically implementing The prehistoric version of C++, called “C with Classes.” If you’re unaware, see Stroustrup’s Design and Evolution of C++ book.

Which is fine! Should be interesting.