

6·
1 month agoYeah this is how it was for me when I first started C++, I was use to any object beyond a simple 3D vector to always be passed by reference
And then I read a C++ book my uncle gave me during a flight and realized that there isn’t any syntax for passing a parameter by copy, so obviously that’d have to be the default behavior and I’ve been passing by reference ever since
So I go from losing 1 hour per hour to 1,460 hours per hour? Nah, man