Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
tnzm
· 5y ago · 0 comments
You're not supposed to be able to refer to other.#value, though, isn't that the entire point of a private field?
Comments
[–]
lifthrasiir
5y ago
They are private to
classes
, not instances. Many languages with private fields do allow access to private fields in other instances of the same class.