Hacker News new | ask | show | jobs
by garmaine 2559 days ago
Also things like unix pipes or network sockets, where the "close" operation means something different as there are multiple parties involved. Arguably the same is true of files as you could be reading a file being simultaneously written to by others.
1 comments

Right. It's easy to handle the simple case, but honestly "let the GC close it" works fine in the simplest cases.