• x4740N@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    14 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
      ·
      14 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.

  • rational_lib@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    15 days ago

    Because the app stores keep adding new requirements that you have to add code to deal with and it gets worse every year and seemingly every day.

    • ogeist@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      15 days ago

      Bro, just use AI, bro, you don’t need developers, bro, also skip the testing, bro, who is going to hack your SaaS, bro

      • Kekzkrieger@feddit.org
        link
        fedilink
        English
        arrow-up
        0
        ·
        15 days ago

        Just let ai code bro its so much better and more reliable, just does what its told it works so good bro, ai is the future its so smart.

  • cylon@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    14 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.

    • bpev@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      15 days ago

      Is their app big? fwiw on desktop, I just use their config with wireguard app, and that works quite well for me.

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

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

  • ThatGuy46475@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    15 days ago

    The hp printer app says it needs your location to connect to WiFi. It says it needs your location all the time when not using the app, again to connect to WiFi

  • AppleTea@lemmy.zip
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    15 days ago

    isn’t it a combination of younger developers not learning to programme under the restrictions of limited memory and cpu speed, on top of employers demanding code as soon as possible rather than code that is elegant or resource efficient or even slightly planned out

    • MonkderVierte@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      15 days ago

      Generally maybe but apps specifically, it’s the default choice of IDE, Android Studio, bundling tons of libraries for added functionality bound to Play Services by default.

      Which would probably be illegal in EU now, if any judge had the tech see-through for it.

    • herrvogel@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      15 days ago

      Mostly the latter. We don’t do any optimizations on our product whatsoever. Most important thing is to say yes to all the customers and add every single feature they want. Every sprint is spent adding and adding and adding to the code as much as we can and as quickly as we can. Not a single second is allotted to any discussion about performance or efficiency. Maybe when something breaks, but otherwise we keep piling on more crap at full speed non-stop. I have repeatedly been told “the fast way is the right way” followed by laughter. I was told to “merge this now” on multiple occasions even when I knew that the code was shit, and told the team as much. I am expected to write code now and think about it later.

      As you can expect, the codebase is a bloated nightmare. Slow as shit, bugs galore, ugly inconsistent UI, ENORMOUS memory use, waaaaaay too frequent DB access with a shit ton of duplicate requests that are each rather inefficient themselves. It is a rather complex piece of lab management software, but not so complex that it should be struggling to run on dedicated servers with 8 gigs of RAM. Yet it does.

    • Lifter@discuss.tchncs.de
      link
      fedilink
      arrow-up
      0
      ·
      15 days ago

      Much the latter.

      Plus everything better work perfecly out of the box on any hardware, and there is a lot of different hardware. Compatibility layers are often built into the package.

      Java, for instance, recommenda that you package the whole (albeit slimmed down) JVM inside the package for the target platform, rather than relying on the java runtime installed already.

      The users arent expected to know any of that anymore.

      • PrettyFlyForAFatGuy@feddit.uk
        link
        fedilink
        arrow-up
        0
        ·
        15 days ago

        yep, a lot of apps are just repackaged chrome running a web page.

        which begs the question to companies that require use of the app instead of just having a working website i can use on my copy of chrome/firefox that’s already on my phone…

        why do you need hardware access to my device?

        • drawerair@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          edit-2
          15 days ago

          1 reason is that they want as much data as possible. They sell the user data. Or they use the user data to improve their targeted advertising. They want more ad clicks.

          Re app versus site, many know how to block ads on browsers. With an app, the firm is hoping they can show you ads. There’s a way to remove ads from certain apps but the layperson doesn’t know.