wr
hn
Top
New
Best
Ask
Show
Jobs
Back
t
throwaway5231
Joined 3 years ago
Karma
16
Submissions
1
Member since
Dec 6
View on Hacker News
Recent submissions
Comment · 3 years ago
This is false and ageist. I got a computer engineering degree at a non elite state school very recently and this was covered in the first c++ and c classes. For that matter c# has an “out” variable that mimics this functionality, and the intro Java class covered primitive types vs. reference types. While reference types in Java aren’t the exact same thing, they do allow a void function to modify the state of the caller by modifying a parameter passed to the function.