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

I like the bang operator for propagating errors. Shame to lose multiple returns though


That's why there is a "Tuple" expression that you can use instead, which allows you to easily return multiple values, and destructure them as well.


Well, it seems to support tuples, which are more powerful.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: