You should probably read some more chapters in your book before you call Python a bad object oriented language, because it's certainly not. Python is an excellent object oriented language with support for classes, polymorphism and multiple inheritance for example. In fact everything in python is objects, like your strings, lists and even your integers. One common complain is that there are no real "private" variables but personally that has never been a problem for me since any name starting with an underscore _likethis is considered private by convention. That works for me. Many things comes down to style actually, and in Python there is always more than one way of doing somethingBorat wrote:My home programming language is C#, but I downloaded the book Python 3 Object Oriented Programming. I have to say that python seems pretty bad in an object orientated "mode". I was disappointed. But i've only finished chapter 3.
Users browsing this forum: No registered users and 12 guests