F
20

I finally compared Python to JavaScript for my first project

Spent last weekend building the same simple todo app in both. Python was way cleaner. Like 40 lines of code vs 80 in JavaScript. Has anyone else found one language just clicks better for beginners?
3 comments

Log in to join the discussion

Log In
3 Comments
king.val
king.val1mo ago
Haha yeah JavaScript is like that friend who makes everything harder than it needs to be.
6
allen.iris
allen.iris1mo ago
Python all the way. JavaScript made my brain hurt too.
1
park.miles
park.miles1mo ago
...and honestly I think that's what got me too, @allen.iris. The callback hell alone drove me up a wall until I learned async/await, but even then Python just clicks better for me. I've been using it for data cleaning scripts at work and it's night and day how fast I can get something running compared to wrestling with Node. The indentation rules feel more natural too, once you get used to them.
3