Re:A Case Against Using CoffeeScript
by ryanflorence on Tuesday December 13, 2011 @10:16PM
(#3350421)
I'll save the fat arrow discussion for my next post, but the only point here is that it encourages nesting.
Edit: Okay, I see what you're doing; attach is supposed to be invoked with a bound scope, which does change the binding. So yeah, my code won't work in your example. I'd argue that that's more of a lack-of-context problem in the example though, since it's dependent on knowledge of the usage of the attach() function to know that that binding behavior isn't desired. Given the context of the example, I contend my solution was acceptable. :)
Fat arrow there is still functionally equivalent to $.proxy.