Y
Hacker News
new
|
ask
|
show
|
jobs
by
tnzm
1742 days ago
You're not supposed to be able to refer to other.#value, though, isn't that the entire point of a private field?
1 comments
lifthrasiir
1741 days 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.
link