Y
Hacker News
new
|
ask
|
show
|
jobs
by
kkoomi
3433 days ago
That's just laziness on part of the refactorer. At that point, you need to use an outer if-else statement. Ternary operators are confusing when nested.