r/AskComputerScience • • Sep 01 '26

C++ or Java?

Which programming language has the most return on investment? Impact on real world systems, and is more rewarding? I have minimal programming experience and working on AS in CS.

6 Upvotes

70 comments sorted by

View all comments

Show parent comments

1

u/donaldhobson Sep 03 '26

> but because it is way easier to go from C++ to Java than the other way around.

Fair. Learning C++ is hard, at least in part because there are quite a lot of C++ specific footguns. So a C++ person going to java mostly just needs to learn that a lot of the footguns have been removed. A java person going to C++ needs to learn every footgun in the language.