| ▲ | edoceo an hour ago | |||||||
I love the ternary operator as much as anyone. But dang if it doesn't get hard to read when there is are a few, nested even. Does that operator compile to faster assembly that if I make the same logic with verbose `if` logic? Is that a language specific outcome? | ||||||||
| ▲ | gnubison 41 minutes ago | parent [-] | |||||||
If they are truly nested, then that is confusing. But if you have an if-else chain, then it can be quite readable. | ||||||||
| ||||||||