Re:Convincing C programmers to switch to C++: A look at huma...
by fredastaire on Friday June 02, 2017 @11:28AM
(#14470594)
In the sense that OOP is often used in very stupid ways (dunno about C++ but in other languages, have a look at PHPUnit it is the best example of misunderstood OOP) I can understand C programmers. Golang is also very simple for a reason
[ Parent
| on HN ]
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.