Re:Talking to C Programmers about C++ [video]
by loeg on Sunday September 25, 2016 @09:25AM
(#12575208)
The obvious comparison is C — where it is common to know 95-100% of the language. (The 5% I'd pick is general disagreement about expectations of UB and "weird" pointers, like pointers to array types.)
[ Parent
| on HN ]
Re:Talking to C Programmers about C++ [video]
by pjmlp on Sunday September 25, 2016 @10:14AM
(#12575395)
People that don't write portable C code think that they know 95-100% of the language.
I don't miss the days in the late 90's, early 2000, writing portable C code across multiple compilers from each OS vendor, across all major UNIX flavours and Windows.
Many that think to master C, actually master C in compiler X targeting OS Y.
Re:Talking to C Programmers about C++ [video]
by loeg on Sunday September 25, 2016 @04:10PM
(#12577165)
What a sweeping generalization. Perhaps. But it's certainly easier to master portable C than portable C++.
Re:Talking to C Programmers about C++ [video]
by pjmlp on Sunday September 25, 2016 @05:54PM
(#12577661)
Yes, that is quite true.
However I prefer that pain, to the lack of strong typing that C++ offers over C.
But better would be to use something else instead of C and C++, more type safe, without UB and without the wide range of implementation differences and compiler extensions.