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.




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

Search: