Hacker News new | ask | show | jobs
by dragonwriter 2112 days ago
> Python has the same "rightward conditional" thing.

No, python writes the ternary operator with words, it doesn't have rightward conditionals.

The key difference is that the else clause is required in the Python ternary, where it's optional in a conditional.

1 comments

Doesn't make it any less irritating.