News for hackers. Stuff that matters.
Re:JavaScript: what is "this"? by erlanger on Sunday March 21, 2010 @08:18PM (#1208917)
> The "var fn" of course doesn't work with private member variables since you need one for each individual instance,

This makes me believe that you have no idea what you're talking about.

Re:JavaScript: what is "this"? by tolmasky on Sunday March 21, 2010 @09:02PM (#1208993)
Normally I'd take the time to explain, but I'm pretty sure the code example right below that statement makes evident what I was getting at, and its pretty clear to me that you just aren't reading my responses, so there's really no point.

But you're probably right, I probably have no idea what I'm talking about despite having written a popular JS framework and the most widely used mobile browser on the planet.

Re:JavaScript: what is "this"? by demallien on Monday March 22, 2010 @04:07AM (#1209749)
That is just a ridiculous thing to say to Francisco Tomalsky - I think he's already demonstrated that he knows a thing or two about hacking JavaScript (see Cappuccino - http://cappuccino.org/learn/). How about you respond by giving us a code example that shows how he is wrong, rather than trolling?