News for hackers. Stuff that matters.
Re:How Class-based Programming Sucks (2011) by nailer on Friday December 13, 2013 @08:05AM (#6900285)
> The thing about "Class based Programming" - or Object Orientated Programming

You can have OOP without classes - prototypal inheritance for example. In JS, you just clone an exemplar with Object.create() for example.

That said, the article author does the same thing.

Re:How Class-based Programming Sucks (2011) by collyw on Friday December 13, 2013 @10:03AM (#6900794)
Having used Angular for a month or so in summer, I find prototypal inheritance horrible and unpredictable. I am never 100% sure if the data is coming from or updating the parent object or the current object. Class based inheritance seems a lot more predicable to me.
Re:How Class-based Programming Sucks (2011) by nailer on Friday December 13, 2013 @10:12AM (#6900850)
If Angular is your only experience of JS, I'm surprised you don't think JavaScript is the most complicated language in existence.