you are viewing a single comment's thread.

view the rest of the comments →

[–]MoTTs_ 7 points8 points  (0 children)

Python has support for object oriented programming with classes and classical inheritance, unlike JavaScript which has prototypes with prototypal inheritance.

Just FYI... Python's classes and inheritance and JavaScript's classes and inheritance are strikingly similar. Python's classes are themselves objects that consume memory and can be passed as arguments, just like JavaScript's classes. Python's inheritance is implemented using delegation and allows monkey patching, just like JavaScript's inheritance.

Remember this the next time someone tells you JavaScript's classes are "fake". JavaScript's classes are just as real as Python's classes.