I want to know why Python is not fully object-oriented. For example, it does not support private, public, protected access level modifiers.
What are the advantages and disadvantages of this? By these expressions, Python is suitable for what applications (Desktop, Scientific, Web or other)?
Well Is Python an object oriented programming language? Yes, it is. With the exception of control flow, everything in Python is an object.
Python doesn't support strong encapsulation, which is only one of many features associated with the term "object-oriented". The answer is simply philosophy. Guido doesn't like hiding things, and many in the Python community agree with him.
Java is not fully object oriented because it supports primitive data type like it,byte,long etc.,which are not objects. Because in JAVA we use data types like int, float, double etc which are not object oriented, and of course is what opposite of OOP is. That is why JAVA is not 100% objected oriented.
Python doesn't support strong encapsulation, which is only one of many features associated with the term "object-oriented".
The answer is simply philosophy. Guido doesn't like hiding things, and many in the Python community agree with him.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With