2 ms·
You’re right about the syntax becoming extremely tedious. Eventually you wind up doing waaaay too many function pointer casts and typedefs. The appeal of this
by rectang 3y ago
You’re right about the syntax becoming extremely tedious. Eventually you wind up doing waaaay too many function pointer casts and typedefs.
The appeal of this approach, to me, is mostly pedagogic rather than practical: stuff designed for OOP isn’t generally going to let you control struct layout to the degree that C will, making it harder to get your hands dirty and learn core concepts.