News for hackers. Stuff that matters.
Re:Javascript: is 'this' a code smell? by bni on Friday November 05, 2010 @05:34AM (#1872558)
Everything felt wrong when I started programming in JS for real about a year ago, but now I would say I understand most aspects of it, and can keep track. Im still not ready to let go of classes and classical inheritance though. Not sure if I ever want to.
Re:Javascript: is 'this' a code smell? by ichverstehe on Friday November 05, 2010 @08:38AM (#1872891)
Take a look at Io. It does prototypes properly. And they are, in fact, pretty nice to work with. I wouldn't mind getting rid of classes in my day-to-day life.