Re:Three kinds of memory leaks
by RyanRies on Monday April 30, 2018 @10:14PM
(#16964140)
Does anyone else see any irony in that you still spend so much energy debugging memory leaks in garbage-collected environments?
[ Parent
| on HN ]
Re:Three kinds of memory leaks
by seandougall on Monday April 30, 2018 @11:34PM
(#16964416)
Sort of. I don't know if I'd call it irony, exactly—the physical metaphor would perhaps be that the garbage truck comes by once a week but I still have to remember to take the bins out to the curb. GC definitely gets overhyped for beginners, though. Most docs/tutorials "forget" (see what I did there?) to mention memory management until the situation becomes so complex that it's unavoidable, by which time the concept is unnecessarily difficult to map onto established patterns.