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

Phrases "withdraw balance" and "deposit balance" are nonsensical in English. #126

Open
someonefamous opened this issue Oct 5, 2017 · 0 comments

Comments

@someonefamous
Copy link

'Balance' as a noun is the name of the number representing the amount of money in your account. You cannot withdraw or deposit the actual number. You can however:

  • withdraw money
  • deposit money
  • increase balance (by depositing money)
  • decrease balance (by withdrawing money)

I'd just call the two functions withdraw() and deposit(). They're not ambiguous, as there's only one thing you can withdraw/deposit (money).

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