• x4740N@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    6 days ago

    Lazy devs not removing old non functional commented code and background code additions ?

    Though I do get it if they don’t want to remove the old code if their employer is an asshole

    • SketchySeaBeast@lemmy.ca
      link
      fedilink
      English
      arrow-up
      0
      ·
      6 days ago

      That’s not why. It’s the dependency trees that run a dozen layers deep and end up importing “isEven”. If you’re building a react app odds are good you’ll import way more code than you ever write yourself.

      And no one should be leaving commented-out code in their app, that’s what source control is for.

  • the_wiz@feddit.org
    link
    fedilink
    Deutsch
    arrow-up
    0
    ·
    6 days ago

    Is this the appropriate point to reference the suckless community? I mean, that’s THE point of the movement…

  • cylon@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    6 days ago

    Memory is cheap and data sells enough to many parties. Most apps are just store front for Ads and data collection.

    No wonder why open source apps are quite light.

  • buddascrayon@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    6 days ago

    Oh, they have new functionality. It’s all in the back end, detailing everything you do and sending it to the parent company so they can monetize your life.

  • Aux@feddit.uk
    link
    fedilink
    English
    arrow-up
    0
    ·
    6 days ago

    Most resources are not consumed by wonky code or dependencies. Most resources are consumed by images and sounds.

      • Aux@feddit.uk
        link
        fedilink
        English
        arrow-up
        0
        ·
        6 days ago

        Every decent piece of software has crap loads of resources: icons, texts, translations, manuals, sounds, fonts, etc. Even hello world app contains at least one resource - “hello world” string and what’s funny is that executable meta data required by operating systems and the string take more space than the actual code to print this string.

  • UnfortunateShort@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    7 days ago

    Because companies give zero fucks. They will tell you they need tons of IT people, when in reality they want tons of underpaid programmers. They want stuff as fast and cheap as possible. What doesn’t cause immediate trouble is usually good enough. What can be patched up somehow is kept running, even when it only leads you further up the cliff you will fall off eventually.

    Management is sometimes completely clueless. They rather hire twice as many people to keep some poorly developed app running, than to invest in a new, better developed app, that requires less maintenance and provides a better user experience. Zero risk tolerance and zero foresight.

    It still generates money, you keep it running. Any means are fine.

  • Gxost@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    7 days ago

    It’s all because of Electron, unnecessary libraries, and just bad coders. Asus Armoury Crate weighs a lot and is so slow, but it’s basically a simple app. Total Commander has much more features, but it’s fast, lightweight, and consumes 9 MB of RAM.

    • SirQuack@feddit.nl
      link
      fedilink
      arrow-up
      0
      ·
      7 days ago

      I’ve said this on reddit before, but once for a joke I tried to make a windows program to play doot.wav during October at random, and tried programming it on Linux.

      Sinds playing audio and working with the system tray was tricky, I ended up with electron.

      So yeah, an atrocious 120 mb application to play a 6kb wav file with a Math.random(). I don’t remember the memory consumption, but it was probably just as gross.

      • Gxost@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        7 days ago

        Once I wrote an annoying program adding acceleration to the mouse cursor, so it was difficult to click any UI item. It was written in Object Pascal with Win API and weighted 16 KB. And I think in C it would be even smaller.

  • kamen@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    7 days ago

    I’d argue that deploying from one codebase to 3+ different platforms is new functionality, although not for the end user per se.

    I wish though that more of the web apps would come as no batteries included (by default or at least as a selectable option), i.e. use whatever webview is available on the system instead of shipping another one regardless of if you want it or not.

    • Harlehatschi@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      7 days ago

      But if your tool chain is worth anything the size of each binary shouldn’t be bigger. To oversimplify things a bit: it’s just #ifdefs and a proper tool chain.

      In the web development world on the other hand everything was always awful. Every nodejs package has half the world as dependencies…

  • RaptorBenn@lemmy.zip
    link
    fedilink
    arrow-up
    0
    ·
    7 days ago

    It’s nearly all just using a whole library instead of the specific single function thats actually required, because few people are actually writing any code these days.