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

Coming from the go side, let else is lookin kinda juicy


lol... but why? trying to imagine where you would use this in go... just the pattern matching?


even if rust is more of a weekly than a daily to me, it helps to know what other camps are doing so I know what I'm missing. this is interesting to me


> where you would use this in go

Error checking; golang's error handling arguably reverses the happy/sad paths of code syntactically, and some users don't like reading things error-first.




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

Search: