DEV Community

Discussion on: Let's talk about an unnecessary but popular Vue plugin

Collapse
 
moopet profile image
Ben Sinclair

There's a module for Drupal 7 called jquery_dollar. It contains the usual Drupal boilerplate and boils down to this:

var $ = jQuery;

It is (was?) very popular, because people cargo-cult it in and don't understand anything about scope.

There was an app called "Less.app" (I think) that ran on a Mac and watched a directory for changes, and then recompiled the CSS from Less. It did what "Sass watch" does but for Less, and it was totally, utterly and in all ways unnecessary. It sold for 99 cents and was immensely popular, because obvious cargo-cult and shiny Mac reasons.

Every time a new package manager comes along, there's a scramble to re-write everything that's ever been made in a different language, driven mostly I think by people's desire to be able to say they're the maintainer of a project which was already doing quite alright and didn't need a makeover, and hey now it's trailing a version behind and has all-new bugs.

I think wherever you look you'll find these sort of examples. I think you always will. It's not really anyone's failure if they use trivial anti-packages like this, it's just because there's so much to learn and not enough time to question every step you read in most of the tutorials you find online.