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

> What if you have more than two return values?

You could have a `?` macro which only handles the standard case of two values. If you have more than one, then likely you need to handle it in a specific way anyway.

Having `?` does not mean the previous way of checking error doesn't work anymore.



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

Search: