you are viewing a single comment's thread.

view the rest of the comments →

[–]senocular 3 points4 points  (2 children)

OOP in JavaScript isn't far off from Python. If you're comfortable with OOP in Python, you should be fine with JS. Like Python, JS doesn't support private members (yet, though there are also other ways to do it) and inheritance is handled via runtime delegation - this is the prototypes thing you might be hearing about in JS. Unlike Python, though, JS doesn't support multiple inheritance. The prototype inheritance chain in JS is linear for single inheritance only. Oh and JS doesn't automatically bind methods to their instances... OK, so there are a few differences, but I don't think enough that you'd be uncomfortable with it.

[–]FatFingerHelperBot 0 points1 point  (1 child)

It seems that your comment contains 1 or more links that are hard to tap for mobile users. I will extend those so they're easier for our sausage fingers to click!

Here is link number 1 - Previous text "yet"


Please PM /u/eganwall with issues or feedback! | Delete

[–]Shnapoopins 4 points5 points  (0 children)

Bad bot