News for hackers. Stuff that matters.
Re:Stunned by Go by MetaCosm on Wednesday July 17, 2013 @07:25PM (#6060690)
This io.Copy behavior seems like an "optimization"... less explicit than I would like but sticks to the idea of an io.Copy.

Having a resource you own Closed on you isn't an optimization, it is a behavior change.

Re:Stunned by Go by thirsteh on Wednesday July 17, 2013 @07:26PM (#6060691)
I agree. I think I edited my comment to specify that it's a much more unsafe assumption just before you posted your comment.