3 ms·
The parent I was replying to was talking about Go. There is no ternary operator in Go. There are no non-block forms of if in Go. I'm not sure what your "of cour
by rollulus 2y ago
The parent I was replying to was talking about Go. There is no ternary operator in Go. There are no non-block forms of if in Go. I'm not sure what your "of course" is referring to, but I guess it is unrelated.
- lmm 2y agoI figured we were talking about C since that's the main topic. In any case short-circuit && and || still work in Go AIUI, so my point stands.