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

Improve Variable Naming for Clarity: uniqueDigitsCount & totalCells #59

Merged
merged 2 commits into from
Mar 2, 2024

Conversation

teogor
Copy link
Owner

@teogor teogor commented Mar 2, 2024

Changes:

  1. digits to uniqueDigitsCount:

    • Renames the variable digits to uniqueDigitsCount.
    • This change emphasizes the distinct nature of the digits used in the Sudoku grid.
    • The original digits variable remains deprecated with a clear message suggesting the use of uniqueDigitsCount.
  2. cells to totalCells:

    • Renames the variable cells to totalCells.
    • This change clarifies the purpose of the variable, referring to the total number of individual squares or cells within the grid.
    • The original cells variable remains deprecated with a message promoting the use of totalCells.

@teogor teogor added this to the 1.0.0-beta02 milestone Mar 2, 2024
@teogor teogor self-assigned this Mar 2, 2024
@teogor teogor merged commit af78838 into main Mar 2, 2024
4 checks passed
@zeobot zeobot bot deleted the bug-fix/cell-terminology branch March 2, 2024 10:48
@teogor teogor added the @enhancement New feature or request label Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

None yet

1 participant