4 ms·
I always say for people coming from C++ ... just imagine a std::move is there around everything (well, except for things that are Copy) ... then it will all mak
by cmrdporcupine 1y ago
I always say for people coming from C++ ... just imagine a std::move is there around everything (well, except for things that are Copy) ... then it will all make sense.
The problem is this mental model is entirely foreign to people who have worked in literally every other language where pass by value (copy or pass by reference are the way things work, always.