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.)
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.
Re:Talking to C Programmers about C++ [video]
by daurnimator on Sunday September 25, 2016 @06:54AM
(#12574788)
FWIW, this is why I use lua as my primary language: it's the only language I can keep all in my head at once.
Re:Talking to C Programmers about C++ [video]
by 0xFFC on Sunday September 25, 2016 @07:36AM
(#12574895)
I would love to read about your experience with Lua. I always thought lua is for some limited things.
Re:Talking to C Programmers about C++ [video]
by daurnimator on Sunday September 25, 2016 @07:42AM
(#12574911)
What sort of thing do you want to read?
I have tagged posts on my blog: http://daurnimator.com/tagged/lua but that's probably mostly library release annoucements.
Do you believe anyone knows Perl, Python, Ruby, Java, C#, Ada, Haskell, OCaml, VB.NET, F#, ... across all language versions, the whole standard library, and most used third party libraries?
One always need to focus on a specific domain.