News for hackers. Stuff that matters.
Re:8 months of OCaml after 8 years of Haskell in production ... by mrkeen on Tuesday December 03, 2024 @03:42AM (#42304165)
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-...

Re:8 months of OCaml after 8 years of Haskell in production ... by yazzku on Tuesday December 03, 2024 @09:20PM (#42313923)
I was half-joking. I wasn't aware Java was promoting "defensive copies" :D