You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would be interested in more like this. Not so much worried about the performance aspect, as I have a set of performance tests ready to go, and just have to get some time to apply them.
Would you be willing to look for more ideas like this, where you think it would be more readable? Perhaps collect them in a PR so we could talk about them?
Prerequisites
Feature Request
Description
The methods do not always use the early return pattern.
Desired Behavior of Feature
Foe example this method now written as:
would be refactored as:
What Are the Benefits of This Feature?
The code becomes more readable and it would potentially benefit from speed improvements, as the code after the early returns would not be run.
What's the feeling about this? I wanted to ask before deciding whether it's worth doing a PR.
The text was updated successfully, but these errors were encountered: