Re:What Should I Know About Garbage Collection as a Java Dev...
by datavirtue on Tuesday January 10, 2023 @09:08PM
(#34334211)
Be nice to your garbage collector. Don't leave references to objects that are not needed. Once they are done, and the scope is going to remain, null them.
[ Parent
| on HN ]
Re:What Should I Know About Garbage Collection as a Java Dev...
by ramranch on Tuesday January 10, 2023 @09:21PM
(#34334285)
Why not just write C, then? Sounds like you're just setting up for NPEs
Re:What Should I Know About Garbage Collection as a Java Dev...
by nlitened on Tuesday January 10, 2023 @10:37PM
(#34334742)
Or use a language that does it automatically, like Clojure
Re:What Should I Know About Garbage Collection as a Java Dev...
by thewisenerd on Tuesday January 10, 2023 @11:32PM
(#34335019)
is this a reference to the 2019 talk, or are you being serious (in which case, could you please share a couple references)?