13
10Dev
4y

Some motherfucker pulled the entire fucking Lodash library off a CDN so he could use one fucking function.

Buddy, the library is open source, you can just copy the relevant code off Github

This is why websites are slow as fuck, devs import shit they don't need

Comments
  • 3
    Copy and paste... uhm... ehhhh.... mhhh.... not sure about that... uuuughh
  • 4
    I have mixed feeling about this. If one copies "just one function" from library every time it's needed, there should be a proper low-level layer for it, eventually becoming a hybrid lib of all libs. For a long run, that kind of things are very expensive to maintain.

    On the other hand, lodash size is 70kB, so that is very fucking big lib if you ask me.
  • 3
    Fucking webshits have no concept of optimisation.

    Not just "I don't optimize" but rather "I make shitty websites so bloated most of the world's population can't even access them".
Add Comment