10
rhymiz
4y

Fucking love how one-liner packages are breaking basically the entire JS ecosystem every once in a while. Why the fuck do you add one-liner packages as dependencies in your code?

Comments
  • 9
    For the same reasons as injecting leftpad() into your project and not writing it yourself.

    https://theregister.co.uk/2016/03/...
  • 2
    @C0D4 oh man! I remember the leftpad fiasco!
  • 4
    @C0D4 Ha! Fucking Node...
  • 6
    Because the JS ecosystem is full of shit, and that's because it's full of frontend devs, and the average frontend dev is a moron. That's easily proven by the sad state of the average website where frontend devs already fail on trivialities like writing valid HTML.

    That's why despite leftpad, they still havn't grasped that dependencies are at least as much of a liability as an asset.
  • 2
  • 3
    @Fast-Nop

    Very true. Oneliners are a symptome of degrading software development standards.
  • 0
    @kamen this ridiculous
  • 1
    left-pad, is-array, and a shitload of other stuff only exists because frontend devs simply aren't capable of understanding something as "complex" as using standardised functions with a single polyfill, so they instead import a pile of "helpers" to achieve the same result. Just like those fucktards who still think jQuery is good for anything.
  • 1
    @rhymiz I laughed my ass off when I read "Added 13th Amendment" in one of the commit messages
  • 2
    interesting
Add Comment