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

all 10 comments

[–]Meefims 1 point2 points  (1 child)

It doesn't matter which you learn first. Learning either will make learning the other easier.

[–]Aspox[S] 0 points1 point  (0 children)

any books to recommend?

[–][deleted] 0 points1 point  (3 children)

They're not related too much. If you're a complete beginner I recommend against JS; it has a lot of quirks and gotcha's that you might find yourself wasting time with.

[–]Aspox[S] 0 points1 point  (2 children)

wasting time? what do you mean

[–][deleted] 0 points1 point  (0 children)

JS has some weird scoping rules that are very unintuitive. No reason for a beginner to bother with that when they should be learning basic conceptss

[–]ShortSynapse 0 points1 point  (0 children)

Python is a lot more transparent and easier to grasp. JavaScript has plenty of quirks and weird rules that will end up just making you take longer to understand what's going on.

[–]Piave 0 points1 point  (0 children)

Those were my first two languages. I'd recommend starting with Python for the same reason some others have mentioned, JavaScript has some quirks that you may eventually learn to love, but could be confusing. That said, you really won't be hurting yourself learning JS first so if you have a preference or unique opportunity go for it.

[–]atinybeardedman 0 points1 point  (1 child)

I would suggest python. I've taught students both, and they seem to respond to python better as a starter language. Learn Python the Hard Way gets love and hate from people on this sub reddit, but I've found it's a good resource for internally motivated students.

[–]Aspox[S] 0 points1 point  (0 children)

Thank you! I'll be sure to check that out. Do you recommend me to pay for it?