Encapsulation (computer programming): Difference between revisions

Content deleted Content added
m Reverted edits by 121.242.47.195 (talk) (HG)
Line 169:
 
== Historical importance ==
The purpose of encapsulation (to classify) can be summarized to the following: to reduce collisions of identically named variables and to group together related methods (functions) and properties (variables) to comprise an object of class (like a family). This pattern of practice helps make source code with hundreds or thousands of lines of code more understandable and workable.
 
== General definition ==