News for hackers. Stuff that matters.
Re:Go version 1 proposal by Someone on Friday October 07, 2011 @08:36AM (#3083674)
I have only skimmed the page, but this caught my eye:

    Close is intended as a way for a sender to signal
    that no more values will be sent.  

    Go 1 will disallow close on receive-only channels.
Why, then, would one still call this 'close'? Wouldn't "done", "dontexpectmore" or "sendEndOfData" be better names?
Re:Go version 1 proposal by uriel on Friday October 07, 2011 @08:49AM (#3083711)
Yesterday in #go-nuts we were discussing better names for close() which currently causes so much confusion, my suggestion was end(), but done() is a good one too.