Consistency is definitely most important. I just did a search through an API that I built recently, and I only have 3 else statements which I can probably refactor out. So, I think it's definitely possible to go all-in on early returns.
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.
Consistency is definitely most important. I just did a search through an API that I built recently, and I only have 3
else
statements which I can probably refactor out. So, I think it's definitely possible to go all-in on early returns.