Javascript: is using t_this inside annonymous functions considered harmful?
<p>I've been using:</p>

<pre><code>var t_this = this; // Used inside annonymous functions
</code></pre>

<p>for quite some time when dealing with annonymous functions inside a 'class' but always with unease as it looks like a code smell. Is this a bad practice? Is there a better alternative?</p>

<p>example:</p>

<pre><code>$("#container").click(function() {
    t_this.doSomething();
});
</code></pre>

<p>thanks!</p>
