Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
AgentME
· 9y ago · 0 comments
None of the safety issues brought up about C there are solved by C++. C++ is (nearly) a superset of C, so it inherits all of those issues.
Comments
[–]
silent_hunter
9y ago
If C++ is "(nearly) a superset of C" why is the C++ standard twice the size of C standard? Of course if we take that 0.505.. ≈ 1, then it is indeed a (nearly) superset.
[–]
dbaupp
9y ago
It is only
nearly
a superset because it contains all the features of C except for a few like implicit pointer casts.
[–]
theseoafs
9y ago
That's nearly as in "most of C's features are supported by C++", not "most of C++'s features are C features".