Skip to content

Simplified code#309

Merged
ptitSeb merged 3 commits intomasterfrom
unknown repository
Jan 11, 2021
Merged

Simplified code#309
ptitSeb merged 3 commits intomasterfrom
unknown repository

Conversation

@ghost
Copy link

@ghost ghost commented Jan 11, 2021

Removed some redundant if elses, fixed some typos in the documentation and reworded some sentences.

@ptitSeb
Copy link
Owner

ptitSeb commented Jan 11, 2021

You realize that the else vs early return chnage nothing in term of optimisation?

@ptitSeb ptitSeb merged commit 4b020ab into ptitSeb:master Jan 11, 2021
@ghost
Copy link
Author

ghost commented Jan 11, 2021

Yes, I know that.

But still, I think that removing the redundant if elses make the code more readable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant