-
Notifications
You must be signed in to change notification settings - Fork 39
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
Why do we need var
?
#87
Labels
Comments
jxnu-liguobin
changed the title
Why can't we have an immutable configuration?
Why do we need Sep 12, 2023
var
?
the original intention is to set default value for some configs. But the default value is set in GetOrElse function, so the var looks no useless.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am confused with these codes.
What are the requirements for using
var
and it needs to be public?Every time I call method
getLPAConfig
,var
changes, so thisvar
is unreliable as "static", why are we doing this?The text was updated successfully, but these errors were encountered: