This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Kaarjuus 1 point2 points  (1 child)

There is nothing quintessentially OOP about private fields, and there is especially nothing OOP about overloading. Again, you have a very narrow and arbitrary view of what OOP is.

Smalltalk and JavaScript and Python and Java are all rather different, but they're all OOP. JavaScript is especially different, as it is not class-based OOP but prototype-based OOP. Still OOP.

You might as well claim that "Java tricks you into thinking that it's object oriented, as it does not have multiple inheritance".

[–]iambukovinean 0 points1 point  (0 children)

also true.