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

You wouldn't use a reference generally, if you're thinking of creating a new independent object you'd just return that. This is for cases when your return object is a reference into your argument, for example


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

Search: