Skip to content

Conversation

@jaufgang
Copy link

Changed getter style to say

The getter method must have no side effects

instead of

The getter method must be a pure function(i.e., result is consistent and has no side effects)

Getters are inherently impure. A pure function with no params will return a constant value.

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.

1 participant