Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Or just stop trying to force immutability into something that is clearly mutable. You’re only causing unnecessary GC pressure by copying objects.

Never the less this eerily looks similar to Goetz proposal for reconstructors:

https://github.com/openjdk/amber-docs/blob/master/eg-drafts/...



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

Search: