Y
Hacker News
new
|
ask
|
show
|
jobs
by
Kerrick
2985 days ago
There's real value in the fact that ternary operators form
expressions
, which if statements don't.
1 comments
z3t4
2985 days ago
Could you elaborate ? I think the only difference is readability, where I favor if-statements over expressions.
link