once icon indicating copy to clipboard operation
once copied to clipboard

Improve variable and function naming for clarity

Open Copilot opened this issue 3 months ago • 0 comments

Renamed ambiguous variables and constants throughout the codebase to improve readability and self-documentation.

Duration Constants

  • Const.day/week/yearConst.dayInMilliseconds/weekInMilliseconds/yearInMilliseconds

Utils Module

  • monthNummonthNumber
  • monthLengthdaysPerMonth
  • _leapYear()_isLeapYear()
  • leapisNonLeapCentury

Runner Module

  • onceKeyversionKey
  • buildKeybuildNumberKey
  • existingVersion/existingBuildparsedCurrentVersion/parsedCurrentBuild

All references updated across runner.dart, runner_once.dart, and builder_once.dart.

Original prompt

Suggest more descriptive variable and function names


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot avatar Oct 30 '25 13:10 Copilot