Re:What is meant by “protection” in real OOP?
by tresilience on Friday April 24, 2020 @12:46PM
(#22970124)
Thanks. I've read all links and I think I would like to see more hands-on code regarding to how this is done in the systems (like Smalltalk) itself.
[ Parent
| on HN ]
Re:What is meant by “protection” in real OOP?
by 7373737373 on Friday April 24, 2020 @04:47PM
(#22972746)
There are two types of languages which use encapsulation:
those who use it merely as the main syntactic model (C++, Smalltalk, Java, Python) and those who actually enforce it by managing memory access during runtime (E, Erlang).
The following might be intuitive https://raw.githubusercontent.com/erights/uploaded-papers/ma...