📢
11
c/coding-for-beginners•park.adampark.adam•2mo ago

My friend told me to learn Python first, but I tried JavaScript for a month.

He said Python was easier for a total newbie, but I found a free JavaScript course online and went with that. After 30 days, I can make a basic website but I'm struggling with some of the logic. Should I have listened and started with Python instead?
3 comments

Log in to join the discussion

Log In
3 Comments
gavin_allen48
Oh man, I mean I get why people say Python is easier but honestly I don't think it matters that much for a total beginner. I started with JavaScript myself and yeah the weird string concatenation stuff was annoying at first but it only took me a week or two to get used to it. Python's indentation rules drove me crazy when I tried it later, like one wrong space and your whole program breaks. If you already can make a basic website after 30 days you're doing fine, just stick with it and the logic stuff will click eventually.
4
paul117
paul1172mo ago
Hey, I read that Python's simpler logic actually helps you learn JavaScript later.
2
julia92
julia922mo ago
Yeah, but then you get to JavaScript and its weird quirks, like how adding two numbers with a plus sign works fine until it suddenly decides to concatenate them as strings. Python's straightforward lists are a nice warm-up before @paul117 has to deal with JavaScript's array methods like .map() and .filter(), which can look like alphabet soup at first. It's like learning to drive in a parking lot, then being thrown onto a highway with slightly different traffic rules.
4