advantages and disadvantages of learning

Java Scripting or C++ ? I dont want to have a huge debate or anything, but i want to know the advantages and disadvantages of learning each of them. I’d prefer if you would answer these questions first: Which ones harder Which one takes longer Which one is more useful Which one is more commonly used Where are these usually used?


cars owned

If and only if this question is related to Panda3d, you’d better learn C++/Python.
In other cases the question is incorrect.

You wouldn’t choose between Javascript and C++ based on which one is harder to learn (though C++ would be by quite a bit) or which one is more useful since they’re totally different languages meant for very different tasks. Javascript is a web browser scripting language that adds functionality to web pages whereas C++ is a full blown systems level language for creating desktop applications that compile to executables. There would be no overlap to their application so you would choose between them solely based on what you hope to do in programming (web pages vs system level applications).

If you’re new to programming in general then neither would be a really good choice, something like Python or Visual Basic would be much better.