Should I wrap jQuery document ready in a self executing function?
<p>I had a thought to do something like this:</p>

<pre><code>(function(window, undefined){
    $ = window.jQuery;
    $(function(){
        // Do some stuff
    });     
})(this);
</code></pre>

<p>Would you consider this good practice or bad? Does it have any implications for when jQuery(document).ready() would fire?</p>
