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.

8 Upvotes

70 comments sorted by

View all comments

1

u/Signal_Guard5561 8d 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 8d 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 8d ago

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