Readability is also contextual. I might do similar things in two different ways depending on how readable it would be over there. Doing it your way might be my preference, but sometimes I'll find myself using a ternary for the same.
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.