4 ms·
> Having multiple return statements in a method actually renders the method LESS readable Does it? I don't find it that. However, if you have never read code
by SideburnsOfDoom 11y ago
> Having multiple return statements in a method actually renders the method LESS readable
Does it? I don't find it that. However, if you have never read code of this style before, it will be unfamiliar to you and you will find it less readable. But you can overcome this with practice.
I would rather say that it depends - both are valid styles, sometimes it's more readable to use multiple return statements and sometime less. As a programmer you know both and pick the option that is better suited to the problem at hand.