News for hackers. Stuff that matters.
Re:Ask HN: Is web programming a series of hacks on hacks? by scriptkiddy on Tuesday September 13, 2016 @11:58AM (#12489456)
JS is not object oriented. A prototype is not the same thing as an object. There are no classes in JS.
Re:Ask HN: Is web programming a series of hacks on hacks? by renku on Tuesday September 13, 2016 @05:14PM (#12492316)
What you mean to say: JavaScript is not class-oriented.

Sure, there are features that JavaScript lacks compared to other object-oriented languages, but saying that it's not object-oriented is like saying that it's statically typed. It's just wrong, the language is full of objects.

Re:Ask HN: Is web programming a series of hacks on hacks? by talyssonoc on Monday September 26, 2016 @07:33AM (#12580939)
Ok, tell me where on "object-oriented programming" is the word "class". Objects are not necessarily related to classes. And yes, a prorotype is a object that you can extend from, as well as from any other object, like prototype-based OOP works.