Link Details

Link 61956 thumbnail
User 111696 avatar

By bloid
via ejohn.org
Published: Jan 17 2008 / 18:26

It's damn easy to sculpt tests to make yourself look good - or others look bad. I'd be a liar if I said that I didn't knowingly write tests that emphasized our best selectors in jQuery. Of course, everyone does this - it's a game of tactics. The issue, though, is that this sort of strange test writing behavior only arises when you're competing on stats - you want your code to look the best that it can. It's only when you divorce yourself from competition, and take a step back, that you can truly start to understand what it is that's most important to users and what's a true performance problem.
  • 9
  • 0
  • 551
  • 119

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (9)



Voters Against This Link (0)