Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Python's biggest inherent issue is it lacked async syntax for a long time. Haven't used the newer versions that have it, so idk how well it works. JS also has a way better package system and nicer syntax for objects and lambdas. Then the more practical issue is all the UI stuff integrates with JS rather than Py, and Py is even slower than JS.

Ruby, idk, never used or even encountered it. Python was my main language for a while.



The syntax points are fair, but the lack of standard library in JS complicates so many things. I'd contest the idea that the JS package ecosystem is better – there is more tooling, but I'm not sure the tooling is better, and the average package quality is easily the lowest in any ecosystem I've worked in.

I could see fully modern JS, without any transpilers, being an ok scripting language, I guess that's why React Native works well in that way.


Seems like Python projects (e.g. the top Py-based Github repos) always have Dockerfiles because they know pip+venv or whatever is notoriously finicky, whereas JS projects will rely safely on npm which is quite portable. After fighting with my Python packages for so long, JS was refreshingly easy.

For standard library, NodeJS keeps things pretty simple server-side. It's messier client-side with browser standards, but it's getting better, and Python can't even run in-browser. I like how JS evolves more gradually than Py which had the hard 2->3 transition.


(But Py does have some nice features I miss in JS like generators and list/dict comp, making it overall nicer for data science type things.)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: