2 ms·
I agree that the “end }” syntax is bad. I disagree with your opinion that `choose` “should” be named `select`. To software written in C, the syntax or naming
by tempodox 8y ago
I agree that the “end }” syntax is bad. I disagree with your opinion that `choose` “should” be named `select`. To software written in C, the syntax or naming choices of other languages are really quite irrelevant. The code must be workable in C (and pertaining context, of which POSIX is a part), with minimum fuss and, as far as at all possible, without necessitating any “workarounds”, however minor you opine they would be.
- kazinator 8y agoIt is not realistic to demand there be possibility of name clashes in the use of a library that uses non-hygienic macros with short names to simulate the syntax of another language. > To software written in C, the syntax or naming choices of other languages are really quite irrelevant. However, at least one person out there thinks that the syntax and naming choices of Go are relevant to software written in C, so they wrote this thing called "libmill". Oh wait ... what were we talking about?