2 ms·
> I have never met a C++ programmer who only knew C++ and couldn't easily do work in some other language Did they try the languages I mentioned? C++-trained pr
by lmm 8y ago
> I have never met a C++ programmer who only knew C++ and couldn't easily do work in some other language
Did they try the languages I mentioned? C++-trained programmers might be able to write lowest-common-denominator code in other languages but they'll struggle to write effective, idiomatic code in languages that make significant use of pattern matching/sum types or polymorphism, or rely on extensive use of higher-order functions.
> but of course plenty of people know other languages and can't do C++.
I'd agree that C++ programmers can usually write Java/Python, Java programmers can usually write Python but not C++, and Python programmers can usually write Java but not C++. But the implication is not that C++ is more general than Java or Python but just the opposite: programming in C++ requires learning a lot of C++-specific stuff that programmers in those other languages don't bother with.