Should output be stored in private or public field #236
maciekbanas
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@Cotau I am not sure if we should put output of GitStats in private fields, I mean
repos
,commits
,users
.Still, to show the output, I need to have public functions (
show
functions - their role is only to reach toprivate$
). I am not sure if it makes sense.Maybe move it to public? Is there any way to restrict the edition of such public fields?
Beta Was this translation helpful? Give feedback.
All reactions