F
13

Question about learning Python vs JavaScript for complete beginners

I spent 3 weeks trying to learn JavaScript first and kept getting stuck on weird stuff like callbacks and this keyword, then switched to Python and made a working number guessing game in 2 days. Python just felt cleaner and more like normal English you know? Has anyone else found that one language just clicked way faster than another when you were starting out?
3 comments

Log in to join the discussion

Log In
3 Comments
the_wade
the_wade4d ago
@finleyl39 actually learning both at once makes the weird parts of each one make way more sense.
7
jessej23
jessej234d ago
You're basically saying Python is easier because it holds your hand. JavaScript throws you in the deep end with that 'this' nonsense and callbacks, sure, but that's exactly why you learn faster. I spent a weekend banging my head against closures and came out the other side actually understanding how functions and scope work. Python's 'read like English' thing just delays the pain until you hit something like decorators or metaclasses and suddenly nothing makes sense anymore.
2
finleyl39
finleyl394d ago
Did you start with JS too @jessej23? I went through the same thing with closures and it clicked way faster than when I tried Python first. That eventual pain with decorators just feels way harsher than the upfront struggle.
3