B
11

Stuck between Python and JavaScript as my first language - what did you pick?

I started learning to code 3 weeks ago and hit a wall choosing between Python and JavaScript. Python seemed cleaner but JavaScript lets you build websites right away, so I went with JS and made a simple to-do list app. It took me 4 days to fix a stupid bug where my buttons didn't work because I forgot to load the script tag properly. For those of you who started recently, which language did you pick first and did you regret it or stick with it?
3 comments

Log in to join the discussion

Log In
3 Comments
patricialee
Oh man, 4 days on a script tag bug? I mean, that's rough but also kind of a rite of passage. I think you're overthinking the whole "which language to pick" thing though. It's really not that serious. If you already built something that mostly works, you're doing fine. Python or JavaScript, it doesn't matter that much for a beginner because the core logic like loops and variables are the same. I'd just stick with JS for a bit since you already started, but maybe don't stress so hard about the perfect first language. You'll probably switch or learn another one later anyway.
1
amy974
amy9742d agoMost Upvoted
Isn't getting stuck on syntax just part of learning the actual problem-solving though?
6
taylor.sean
Good point @amy974, but problem solving means nothing if you can't even get the code to run.
6