2 ms·
> I do not believe that in a programming language there is any need to specify if a parameter is passed by value or by reference, and requiring the programmer t
by alfiedotwtf 5y ago
> I do not believe that in a programming language there is any need to specify if a parameter is passed by value or by reference, and requiring the programmer to choose this (like in Pascal, C and derived languages) is a misfeature.
I think direction is orthogonal to this.
... but i would like to be explicit in telling a function to not copy 2Gb of data on each call when a reference will do.