by erikpukinskis · 9y ago · 0 comments
JS has been object oriented since the beginning it just has an insane prototype based inheritance hierarchy that they're increasingly trying to hide/pave over.
Can you elaborate more on why you think it is insane? I think it is quite elegant, and in my experience they only try to hide or pave over it because just so many damn people can't get over the fact that it isn't classical object oriented
Also, for those who haven't read: http://javascript.crockford.com/inheritance.html
It also prevents sound encapsulation of class local variables and methods, the main point of object oriented programming in the first place.
Think subreddits for NPM.
Yes and no. With Typescript, js developers tend to write js code like they would write Java code, in all its verbosity. They don't need to, but they do.