Hacker News new | past | comments | ask | show | jobs | submit login

It's also worth considering that many editors have default snippets that transform something.await into (await something) for languages with prefix await, so it kind of makes sense to cut out the middle man and just make that the syntax to me.





That transformation makes writing both variants similar, but you still need to read `await (await fetch()).body()`, which IMO is much worse.



Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: