2 ms·
I actually agree it's counterintuitive. But this particular example makes no sense, nobody should be writing real-world code that looks like this in the first p
by mark-r 12y ago
I actually agree it's counterintuitive. But this particular example makes no sense, nobody should be writing real-world code that looks like this in the first place. Either modify the original or return a copy, don't try to do both.