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

Yes, you are correct. Doing var return MyStruct {} at the beginning of the function would do exactly the same thing as naming return value.


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

Search: