12 ms·
On the other hand, if a dev is that unfamiliar with jQuery code, they shouldn't maintaining jQuery code. Using $(function(){}); serves as a nice warning to thi
by JustinSeriously 16y ago
On the other hand, if a dev is that unfamiliar with jQuery code, they shouldn't maintaining jQuery code.
Using $(function(){}); serves as a nice warning to this effect.
- rue 16y agoThat is an awful argument. Can you imagine what software would look like if people took that approach with everything? Development would have ground to a halt decades ago.
- ganjianwei 16y agoI think the point is that they should learn enough jQuery before maintaining jQuery code.