Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
rollulus
· 1y ago · 0 comments
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.
Comments
[–]
lmm
1y 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.