r/AskComputerScience 3d 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.

4 Upvotes

57 comments sorted by

View all comments

1

u/Signal_Guard5561 2d ago

C++ because it helps you write both better C++ and better Java. Even if you’re not writing Java learning how your code compiles and how it interacts with the computer is very useful in both languages but more direct in C++

1

u/Mission-Maize8454 2d ago

Yeah but syntax is different such as the key words and function names, there's no std::, cin or cout in Java.

1

u/Signal_Guard5561 2d ago

Ur asking for answers and you’re not happy with my answer so idk what to tell u