What is a ternary operator?

The three-part ternary operator helps us write compact conditionals. Is it easier or harder to read than a standard conditional expression? Let's learn the basics about it.