News for hackers. Stuff that matters.
Re:Signs of a poorly written jQuery plugin by dhimes on Thursday June 03, 2010 @12:23PM (#1401726)
For the inline return:

    return $(this).each(fn);
I'm actually surprised that the JS engines don't do this kind of optimization automatically.
Re:Signs of a poorly written jQuery plugin by tlrobinson on Thursday June 03, 2010 @01:34PM (#1401921)
It's quite possible some of them do, but the performance difference is probably negligible anyway, it's just extra code that doesn't need to exist.
Re:Signs of a poorly written jQuery plugin by dhimes on Thursday June 03, 2010 @02:01PM (#1401978)
I see. It speaks to a certain elegance of programming, which is a useful filter for estimating quality. I actually totally get that.