I’ve griped about jQuery plenty. Not the framework itself, it’s an awesome tool to have when doing front end work, but the code that many produce with jQuery. I like to call it anonymous functionitis. New developers see anonymous functions in jQuery code, assume everything should be done that way, and create code that doesn’t promote reuse. The code is full of functions that serve one purpose and need to be recreated if they are needed elsewhere. Another thing that bugs me is throwing everything in DOM ready. I mark this up as inexperience.
- Teach the need to understand what jQuery is doing. New developers should dig into the code and learn how jQuery does what it does.