A case study [informed rant] on premature optimization with JavaScript anonymous functions — Premature optimization is one of those mantra phrases in the programming community that gets applied and repeated for a lot of situations. The term itself has been a part of the field longer than most of us, basically ever since Donald E. Knuth wrote: The real problem is that programmers…