It's like an if-else in Scala, that returns a value. Nothing wrong with that, it's just that ? : is not intuitive to read. But if used carefully, and not just showing off how smart you are ;-) it can actually improve readability.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.