Hacker News new | ask | show | jobs
by IonoclastBrig 4071 days ago
I suppose "choose" was used for multiplexing channel reads to avoid clashing with select(2) (<sys/select.h>) on BSD/POSIX systems..?
1 comments

Yep. Same way "case" and "default" cannot be used because they clash with C keywords. I was thinking of using "elect" initially, but that looks too much like a typo.