News for hackers. Stuff that matters.
Re:Convincing C programmers to switch to C++: A look at huma... by flavio81 on Friday June 02, 2017 @11:39AM (#14470687)
I agree, but moreover: You can also do nice OOP with C. Take a look, for example, to COS (C Object System) which implements OOP on top of your C compiler. The object system itself is inspired by CLOS (Common Lisp Object System) and Objective-C (in turn inspired by Smalltalk). It also allows 'automatic' allocation by reference counting.

https://github.com/CObjectSystem/COS

Paper: https://arxiv.org/abs/1003.2547

There are no comments on this comment yet.