Better HN
topnewbestaskshowjobs
Log inSign up

throwaway5231

16 karma · joined Dec 6, 2022 (3y ago) · 1 submissions

Submissions

comment 3y ago · link · parent

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.