News for hackers. Stuff that matters.
Re:Object-oriented techniques in C by pjmlp on Tuesday September 22, 2015 @03:06PM (#10260868)
Fully agree.

Ended up doing a similar approach when forced to use C instead of C++ for a data structures university project.

Goal achieved, but not an experience to repeat ever again.

Re:Object-oriented techniques in C by z92 on Tuesday September 22, 2015 @08:02PM (#10262566)
So how would you have done it the next time if you had to stick with C?
Re:Object-oriented techniques in C by pjmlp on Wednesday September 23, 2015 @01:35AM (#10263468)
Just plain ADTs instead of trying to mock object semantics.

Edit: Forgot to mention that so far I only used plain C instead of C++ when obliged to do so.