Hacker News new | ask | show | jobs
by ildjarn 819 days ago
Never understood why Python is considered easier to learn than JavaScript to be honest.
1 comments

It's the friendlier syntax. With the same conditional in javascript and python,the python version reads a little more like english. The same can can be said for loops. However, JS is right there in your browser so I would argue its much more accessible. Also the usecases for javascript are more aligned with junior coders (browser games, toy projects with a visual element etc), though to dig in to these you have to learn about the web dom which is quite overwhelming.
Loops and conditionals are a totally alien concept to non programmers. I really don’t think the syntax is the issue.