I like this style more - it looks clearer to me, and from the point of working through the logic, I like that the returns just end the function.
If a block just set a value and returned it later, there's a chance it could be reassigned in another buggy block, so I think there's less risk in this style too.
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.
I like this style more - it looks clearer to me, and from the point of working through the logic, I like that the returns just end the function.
If a block just set a value and returned it later, there's a chance it could be reassigned in another buggy block, so I think there's less risk in this style too.