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

use uint instead of var #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

radhikakhetan
Copy link

Avoid using 'var' in the code, as it infers the variable type from the right hand of the assignment. In some cases it might infer a smaller integer type than the developer might think. It is best to be explicit regarding types.

@radhikakhetan radhikakhetan mentioned this pull request Nov 18, 2017
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