Virtuals are minor problem
Virtuals are minor problem
Posted Nov 14, 2008 5:59 UTC (Fri) by khim (subscriber, #9252)In reply to: C++ by robert_s
Parent article: Things that go Clang in the night: LLVM 2.4 released (ars technica)
The only feature that I would say "does things behind your back" in c++ is virtuals.
Sorry, but that's not true. C++ can add generate elaborate code when programmer is using innocent assignment: A=B can mean network/disk access and more! Heck, empty closing "}" can mean network/disk access and more!
And it's not easy to disable such features: people are using them all the time and there are no compiler switch to warn about them. C is simpleminded, C++ is treacherous. It's simpler to write C++ program but it's much harder to read C++ program - and that's big issue...
