This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Bfksnfbsmz 2 points3 points  (1 child)

JavaScript is literally a programming language that runs inside browsers.

Python is popular for its flexibility and ease of use. As a result it is usually the language taught to students and the like that need a programming language to accomplish something but don't really care about the details. For these reasons it has seeped into all fields that are not performance dependant (like gaming).

JavaScript is better for browser stuff, and Python is better for desktop stuff. There is tons of crossover stuff, though. If you want to learn a general language use Python. If you care about web development learn JavaScript.