"Michael Langford" <[EMAIL PROTECTED]> wrote

Good stuff on inheritance and polymorphism snipped...

> Encapsulation: The process of taking what shouldn't matter to
> the external world, and locking it behind an interface.

Actually I'd call that Abstraction.

Encapsulation literally means taking things and putting them
in a container - a capsule.

Or in the case of OOP a class/object.

> This principle works best when put into small, specialized libraries
> and designed for general use, .....

But the rest I agree with :-)

-- 
Alan Gauld
Author of the Learn to Program web site
http://www.freenetpages.co.uk/hp/alan.gauld 


_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to