3 ms·
Python is a pure OO language; everything is an object. Java is impure; primitives are not objects. Python is not an everything-must-be-in-a-class language, li
by russell 18y ago
Python is a pure OO language; everything is an object. Java is impure; primitives are not objects. Python is not an everything-must-be-in-a-class language, like Java. Python allows you to create a variable or function without having to put in a class. Much better, I think;
- cabalamat 18y ago> Python is a pure OO language; everything is an object. It is now, but it wasn't always. For example, you didn't used to be able to create a subclass of dict or int. And you can certainly code in Python just using built in data types and functions, not making use of any OO features.
- visitor4rmindia 18y agoWhich is pretty much my point. Python has morphed into "everything is an object". To see how C++ has moved towards objects-for-everything, I have just one word - boost! RE your second point - I don't know of any studies that show OOPS makes programmers more productive. As a matter of fact, some anecdotal evidence (cough pg cough), points to the opposite!