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

refactor: Initialize all Strength properties via constructor #164

Merged
merged 1 commit into from Sep 2, 2023

Conversation

vvatanabe
Copy link
Member

  • Deprecated the default constructor of Strength in favor of initializing all properties through a parameterized constructor.
  • Deprecated Scoring's mostGuessableMatchSequence method due to the changes in Strength's initialization.

This change encourages the use of the constructor for setting all properties of the Strength class and discourages partial or post-instantiation modifications.

- Deprecated the default constructor of Strength in favor of initializing all properties through a parameterized constructor.
- Deprecated Scoring's mostGuessableMatchSequence method due to the changes in Strength's initialization.

This change encourages the use of the constructor for setting all properties of the Strength class and discourages partial or post-instantiation modifications.
@vvatanabe vvatanabe merged commit 1f5f839 into main Sep 2, 2023
1 of 2 checks passed
@vvatanabe vvatanabe deleted the refactor-strength-initialization branch September 3, 2023 07:52
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.

None yet

1 participant