-
Notifications
You must be signed in to change notification settings - Fork 834
Change max_money
to a constant.
#1410
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
Conversation
The value is statically known which is better expressed as a constant. Also allows usage in const context.
Think we should restore the original one (with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK e9dffb1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK e9dffb1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK e9dffb1
why not |
@hashmap a constant more clearly indicates "there are no weird side effects". |
@Kixunil same for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK e9dffb1
@hashmap you don't see whether a random fn in the code is |
The value is statically known which is better expressed as a constant. Also allows usage in const context.