Help - Glossary -
E - Encapsulation
refers to a basic feature of Squeak (and Smalltalk): The programs written and
running inside Squeak are Objects, that is packages of data (stored in
instanceVariables or
classVariables) and methods, such that the data of an
Object can only be manipulated by the
Methods of that Object. This last
feature is called "encapsulation". In other programming languages data and
programs (methods) are far less tightly knit together.