I appreciate your views. I was resistant to the ternary operator as well when I first started learning to program in PHP. It was not intuitive and I’d rather write an if/else.
However, I think there’s a difference between learning the ternary operator as a new programmer and trying to adopt it after long periods of being used to if/else.
Clarity is an odd thing that way, you’ll inevitably be conditioned to some code being easier to read than others based on your experiences.
Regardless, your opinion is important and shared by others. Thanks for sharing it with me and the rest of the community.