Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
phloxicon
· 11y ago · 0 comments
I really like the idea of capitalization selecting public and private scope. However, how do they use protected scope?
Comments
[–]
IshKebab
11y ago
There is no protected. There's no inheritance anyway.
[–]
NateDad
11y ago
Note that everything in the same package can access all the private stuff... so you do have some flexibility. You can write two types that reference each other's private data/functionality... they just need to be in the same package.