News for hackers. Stuff that matters.
Re:What I'd like to see in Go 2.0 by tapirl on Friday February 04, 2022 @10:24PM (#30216833)
Sometimes, it is not related to performance loss, it is related to implementation cleanness and complexity.
Re:What I'd like to see in Go 2.0 by usrbinbash on Saturday February 05, 2022 @02:02AM (#30218569)
A separate `select` with empty `default` is about as simple and clean as it gets. It is easy to read, easy to reason about, and, most importantly, conveys the intention of the code perfectly.