Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A number of refactorings #325

Closed
wants to merge 4 commits into from
Closed

A number of refactorings #325

wants to merge 4 commits into from

Conversation

danparizher
Copy link

Refactorings including f-strings, returning immediate inline variables, hoisting, list comprehensions, and conditional rearranging.

Refactorings including f-strings, returning immediate inline variables, hoisting, list comprehensions, and conditional rearranging.
Copy link
Contributor

@nponeccop nponeccop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Split them up. Some of the refactorings are a matter of taste, e.g. retValue = foo; return retValue isn't redundant because you can easily add logging.

So apply one refactoring per PR to entire codebase, don't mix strings and return values together,

And it got out of date, so resolve the conflicts.

This was referenced Apr 10, 2023
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.

2 participants