Definition of "property"

George Fischhof george at fischhof.hu
Wed Jun 2 09:57:16 EDT 2021


Greg Ewing <greg.ewing at canterbury.ac.nz> ezt írta (időpont: 2021. jún. 2.,
Sze, 4:01):

> On 1/06/21 7:01 am, Alan Gauld wrote:
> > That was the point, the OP said it was a book about OOP.
> > Not a book about "OOP in Python".
>
> In that case it would be best to avoid the word, or give
> a definition of the way he's using it, making it clear
> that it's not a universal definition. Python's definition
> is somewhat unusual, and so would not be appropriate.
>
> --
> Greg
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>


Hi,

I think in OOP point of view one can write that property is the python
implementation of the OOP concepts:
Encapsulation and Information hiding

Some explanation for beginners on these paradigms:
https://stackify.com/oop-concept-for-beginners-what-is-encapsulation/

BR,
George


More information about the Python-list mailing list