Hacker News new | ask | show | jobs
by ElegantBeef 1045 days ago
> default behaviour is pass by value

Is not exactly true, smaller than 24 bytes is passed by value, the compiler optimizes larger calls and passes by reference implicitly.