Readability is subjective, but I would say that when your code reads: if true return true, if false return false... I mean you might as well be writing:
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.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Readability is subjective, but I would say that when your code reads: if true return true, if false return false... I mean you might as well be writing:
Perhaps.
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.