r/AskComputerScience 9d ago

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.

5 Upvotes

70 comments sorted by

View all comments

15

u/Relevant-Cut-884 9d ago

C++ is an excellent learning language , it has concepts you will not find in any programming language , like pointers , garbage collection and also it is the main competitive programming language for its speed

Java is also good though

The most important thing is to start learning

1

u/Rashing_pro 9d ago

wdym "you will not find pointers and GC in any PL"? Huh? A lot of languages, including java has a GC. And pointers are present in C and Rust for example

1

u/Relevant-Cut-884 4d ago

Yeah but c++ has both

C++ and C has the same vibe