4 ms·
select is super well known in C, as I'm sure you're aware. I have over 20 years in it myself. sure, workarounds are easy, but that's not the point. your sugg
by legohead 7y ago
select is super well known in C, as I'm sure you're aware. I have over 20 years in it myself.
sure, workarounds are easy, but that's not the point. your suggestion that it should be named the same as Go is a bit ridiculous. why is that even important? what is important is potentially confusing developers, and adding a new "select" into C would do just that.
the only mistake is Go using the word select to begin with.
- kazinator 7y agoselect isn't in C; it's in POSIX. I worked in Windows development shops where nobody knew select; but they could write WaitForMultipleObjects code in their sleep. A strictly conforming ISO C program can use the select identifier however it wants, including as an external name for an object or function. > your suggestion that it should be named the same as Go is a bit ridiculous It's not any more ridiculous than wanting to have a library which imitates Go concurrency down to macros that imitate some of the syntax.
- xeeeeeeeeeeenu 7y ago>I worked in Windows development shops where nobody knew select; but they could write WaitForMultipleObjects code in their sleep. That's hard to believe considering the fact that POSIX-compatible select() is a part of the winsock API.
- geezerjay 7y ago> your suggestion that it should be named the same as Go is a bit ridiculous. Are you aware that you're making that complaint in a discussion on Libmill: Go-Style Concurrency in C? It's one thing to skip the submission to jump to the comment section. It's an entirely different thing to start mindlessly criticizing constructive criticism presented by fellow users while being entirely oblivious to both the subject and the context. That's just noise, and contributes zero to the discussion. In fact, it takes an awful lot from it.
- fao_ 7y ago> Are you aware that you're making that complaint in a discussion on Libmill: Go-Style Concurrency in C? Just because it's Go-style, doesn't mean "Exactly like Go, down to the keywords used".
- geezerjay 7y ago> Just because it's Go-style, doesn't mean "Exactly like Go, down to the keywords used". That point was already discussed previously in the discussion, and it's pointless to continue repeating what has already been said, particularly when those arguments boil down to nothing more than a personal opinion.
- fao_ 7y agoI read the entire discussion and didn't see a single person mention it, but ok.