As web developers obviously we don't want to reinvent the wheel with everything we do so best practice would dictate when necessary we should use third party scripts and plugins.
Recently I have found a slew of 'bad' plugins for Wordpress, which fall into two categories;
- The plugin works fine, but isn't written using current standards.
- The plugin appears to work but is just written wrong.
Both plugins do what they say they will do, but in the first category you can't minify the javascript behind them because the javascript hasn't been written to conform to say jslint or any other code validation and in the second category the plugin uses potentially insecure code or incredibly inefficient code so under normal use it seems fine but under pressure seams become undone and the server gets hit with unnecessary loads.
The thing I can (and will) do is rate the plugin and provide feedback, but lets say 10000 people have downloaded the plugin and never need to minify it, or need to put it under pressure, my one negative review will be a drop in the ocean. It feels like more should be done.
What else should I do as a developer and we do as an industry to ensure sloppy third party plugins get brought up to speed?