Hacker News new | past | comments | ask | show | jobs | submit login

Kind of true, but you can minimize copies if the language supports ref types, which was already common in languages like Modula-3, D or even Eiffel.

Also a reason why C# 7 is getting them as return types in addition to ref/out parameters.




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

Search: