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

maybe because async Python is painful, an async TypeScript / JS is the default.


Use another language where async isn't painful then? Since it's the backend, you have 100% control over what stack to chose, unless some other requirement gets in the way. And no, async isn't "the default" in at least JavaScript, not sure where you'd get that from.


It is the default in a sense that most libraries and increasingly many stdlib functions and even core language features require it. E.g. dynamic import() is async-only.


> And no, async isn't "the default" in at least JavaScript, not sure where you'd get that from.

My bad. I was conflating common idioms and actuality.




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

Search: