Quote of the week
Posted Dec 10, 2004 2:57 UTC (Fri) by
mbp (subscriber, #2737)
In reply to:
Quote of the week by josh_stern
Parent article:
Quote of the week
The thing is that because C is a simpler language, it is easy to describe the necessary rules: no #ifdefs in code, avoid macros, strongly avoid macros don't generate "self-contained" results, use inlines rather than macros where possible, etc. These are easy to understand, easy to check for, and most experienced programmers will see they make sense.
For C++ in principle you can decide to avoid some features, but it is hard to agree on which ones. I have heard people propose any of the following: no templates, no MI, no RTTI, no non-virtual members, no typedefs, no operator overloading, etc. And yet if you stick to just slightly-improved C then people will complain...
(
Log in to post comments)