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

Use getApplication() instead of passing the instance around #93

Merged
merged 1 commit into from
Jul 7, 2022

Conversation

theofidry
Copy link
Collaborator

By passing it like so as a parameter it gives the impression that the instance itself may change (different references). This is however not the case and since the application state does mutate across the execution I do not think this helps out in the understanding of the code.

@theofidry theofidry merged commit 8d63dae into bamarni:master Jul 7, 2022
@theofidry theofidry deleted the feature/application branch July 7, 2022 22:56
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