Hacker News new | past | comments | ask | show | jobs | submit login

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-...






I was half-joking. I wasn't aware Java was promoting "defensive copies" :D



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: