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

I feel like it was a mistake to allow mixing the two styles inside the same function. I ran into enough issues with non-initialized returns during my adventures in Go to stop using named return parameters completely. To me, this feature has the same appeal as JavaScript's optional semicolons; or Pascals with-statements; convenience at the price of reliability and correctness.


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

Search: