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

Apply Refactoring Technique: Remove Parameter #21

Open
ManzanillaSebastian opened this issue Jan 13, 2025 · 0 comments
Open

Apply Refactoring Technique: Remove Parameter #21

ManzanillaSebastian opened this issue Jan 13, 2025 · 0 comments

Comments

@ManzanillaSebastian
Copy link

ManzanillaSebastian commented Jan 13, 2025

Inside the Field class, in the score() method, the integer parameter player is not used. The advantage of applying this refactoring method is: ensuring that the method contains only the parameters it requires.
Captura de pantalla 2025-01-12 220321
Captura de pantalla 2025-01-12 220620

@ManzanillaSebastian ManzanillaSebastian changed the title Apply Refactoring Technique: Consolidate Duplicate Conditional Fragments Apply Refactoring Technique: Remove Parameter Jan 13, 2025
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

No branches or pull requests

1 participant