C constitutes a subset of C++.
[...]
"spinoza1111" is mistaken.
You keep saying you'll ignore me. Why do you continue to break your
committments?
C is *nearly* a subset of C++, and Wang
Yip has found one of the areas of inconsistency, namely the meaning
of empty parentheses in a function declaration.
By saying emphatically using "differently" unnecessarily, you imply
that C and C++ are not dialects with respect to each other such that
some C programs can be compiled by C++ compilers (in fact, most C
programs can be compiled by C++ compilers).
But since most C++ compilers can compile C, C is as a practical matter
a subset of C++.
You seem unaware that while it may seem scientific to treat "C" and "C+
+" as simple objects without parts and as part of nature, they are
complex objects with many moving parts and a social construct. This
means as a practical matter that Wang Yip is probably using, and
expert in, both languages as a real programmer, as opposed let us say
to a person (Seebs) who's never taken a computer science class and
apparently mostly writes shell scripts, or a Nokia manager-programmer
who's probably too "valuable" to code in the sense that he's overpaid.
Microsoft C supports almost all forms of C within C++, and because
Windows is competently written, you can return from main without
fearing you'll break anything; the void main nonsense was probably the
result of greedy vendors who've laid off competent compiler people in
favor of script kiddies without formal training in CS, and the script
kiddies would run home to Mommy's basement if they had to modify the
vendor OS to not break when returned something strange. But that's
just speculation, of course.
It's very hard in my direct experience in mainland China and Fiji for
developers to get their hands on a range of computer books including
books that clarify the mess that was made of C99. Instead, they work
24/7 reverse engineering their compilers and of necessity they treat
their compilers as definitive.
This means that they are more and not less competent for the same
reason Dave Hanson told me at Princeton that he felt that Cobol
programmers, who also must make a silk purse out of a sow's ear, are
competent.
Wang Yip, in short, doesn't sit around with the guys at the office
sniggering about Nilges or Schildt. He should be treated with respect.