Re:Object oriented programming with ANSI-C (1993)
by dllthomas on Tuesday January 07, 2014 @05:39PM
(#7020502)
You can't do generics in very much generality without compromising safety, true. You can get some (sometimes a surprising amount) done with macros, and safer now with static casts. Templates are still a win though, to be sure (syntax aside...)
Personally, I think C++'s big win over C++ is not OOP but generics. You can do OOP in C if you want; you can't do generics efficiently and safely.