Necessity of .ready() in jQuery
<p>I've seen various examples use this and I'm curious to know, is it dangerous not to wrap jQuery code in the following?</p>

<pre><code>$(document).ready(function () {});
</code></pre>

<p>I know what it does and I know why you do it but I'm curious if it is more unsafe or just bad practice/style to not have it? Thanks!</p>
