3 ms·
Haha, can't tell if you're joking or not. For anyone else reading - you don't need to make a copy if you know your data isn't going to change under your feet.
by mrkeen 2y ago
Haha, can't tell if you're joking or not.
For anyone else reading - you don't need to make a copy if you know your data isn't going to change under your feet.
https://dev.to/kylec32/effective-java-make-defensive-copies-when-necessary-4bd6 https://dev.to/kylec32/effective-java-make-defensive-copies-...
- yazzku 2y agoI was half-joking. I wasn't aware Java was promoting "defensive copies" :D