Y
Hacker News
new
|
ask
|
show
|
jobs
by
rollulus
499 days 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.
1 comments
lmm
499 days ago
I 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.
link