Will python never intend to support private, protected and public?

could ildg could.net at gmail.com
Thu Sep 29 12:25:35 EDT 2005


Thank you skip.
Encapsulation or information hiding or whatever, that's what I'm looking
forward to.

On 9/30/05, skip at pobox.com <skip at pobox.com> wrote:
>
>
> >> **Encapsulation** is one of the 3 basic characteristics of OOP.
>
> This isn't an encapsulation issue. From the first hit on Google for the
> word:
>
> In programming, the process of combining elements to create a new
> entity. For example, a procedure is a type of encapsulation because it
> combines a series of computer instructions. Likewise, a complex data
> type, such as a record or class, relies on encapsulation. Object-
> oriented programming languages rely heavily on encapsulation to create
> high-level objects. Encapsulation is closely related to abstraction and
> information hiding.
>
> Python does encapsulation just fine. Your beef is with its information
> hiding.
>
> Skip
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20050930/c904b12a/attachment.html>


More information about the Python-list mailing list