Hacker News new | ask | show | jobs
by RyanRies 2976 days ago
Does anyone else see any irony in that you still spend so much energy debugging memory leaks in garbage-collected environments?
1 comments

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.