26
heyheni
6y

"In fact, 97% of the code in a modern web application comes from npm. An individual developer is responsible only for the final 3% that makes their application unique and useful."

😄 3%? haha

npm report 2018
https://blog.npmjs.org/post/...

Comments
  • 8
    No should be offended when I call Web Devs lazy.
  • 3
  • 4
    It true, node devs add packages for the stupidest things just two save 2 lines of code
  • 15
    Not really surprising.

    If you likewise count all code from external libraries in other languages you probably end up in the same.

    Only real difference is that in C# the external code is hidden in dll files.

    But in a C or C++ open source project, linked resources usually account for massive amounts of code.

    So same same as usual.

    Why reinvent the wheel, that would be a bad practice unless you seriously can make it very much better.

    Examples, how many build their own database or 3D engines , sure some do but most just use one thats good enough.
  • 1
    @Voxera has it completely right. If anything this is a good thing. We are so busy reinventing UI in web development that the oilskin exists that things must be unique (and from a marketing standpoint that sometimes makes sense) but the rapid application development pressure forces to be more efficient so things have been getting more unified for quite a while.

    So I hope this tend continues I rather load a lib that solves common tasks/problems than waist time that I could have spent fixing my real problem
  • 0
    @irene I tried to, but is a pain in the ass... The libraries are outdated and the engine is not that good... If I'll have to develop an Android app I would use Java.
  • 1
    @irene Not for me. Maybe I'm just doing easy things but I really like it.
  • 0
    @irene Yeah for the moment I'm using it for everything but I have planned to learn Java or something else like C# within 2020, maybe I will study Java at home while we're doing it at school. (I'm 15 y.o)
  • 1
    @Mega If you want to make Android apps, I suggest you look into Kotlin as well
  • 0
    @Unoriginal ty I'll keep it in mind
  • 2
    That is fucking stupid
  • 0
    @irene dfox is probably one of those 44%
  • 3
    A lot of code these days is glue code to connect existing stuff. Not only it's quicker to develop, the difficult parts are (hopefully) already test hardened.

    Two danger points are configuration management, which is often a weak part especially in open source, and the rise of inefficient yo-yo code to jury rig incompatible parts or concepts together.

    @hjk101 that unique thingy mostly stems from marketing folks being stupid cocksuckers who don't understand what "unique selling point" actually means. ^^
  • 1
    @MrCSharp I was going to write the correction but I'm too lazy
Add Comment