Trinary expressions are supported in a lot of languages. I actually agree with your point about "clever" code but I don't think trinary expressions are clever. They are quite normal and fairly common.

And every language has its idioms that are incomprehensible until you learn them. This isn't clever code so much as shorthand for common things.