My advice on implementing stuff in C:
My advice on implementing stuff in C:
Posted Oct 15, 2010 14:09 UTC (Fri) by dskoll (subscriber, #1630)In reply to: My advice on implementing stuff in C: by mjthayer
Parent article: Russell: On C Library Implementation
I agree with the comments about C++. It's a horrible, horrible language that doesn't know if it wants to be object-oriented or not. Other brokenness besides that mentioned in the parent:
Virtual Base Classes. A real WTF if ever there was one.
Insanely complex rules about how overloaded functions are picked, what you can and can't do in constructors/destructors, etc. that mostly come about because of compiler design constraints rather than intentional language design.
RTTI. Doesn't that go against OO design?
