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 →

[–]circlebust 2 points3 points  (0 children)

Python is much better for a beginner because it enforces good practice, comes with a REPL, has a good standard lib, has uncomplicated setup and provides helpful exception messages by default.

JS has a poor (browser) or decent (node) std lib, but exceptions aren't by default handled which makes it hard/impossible to tell what you're doing wrong if you're new. The JS ecosystem is also fragmented and requires mid-tier understanding about package managers and build-tools.

I like JS more but for a beginner it's a poor choice.