1475
Why indeed (lemmy.ml)
top 50 comments
sorted by: hot top controversial new old
[-] ICastFist@programming.dev 4 points 2 hours ago

"Program is slow? Just get better hardware, brah!!! It's cheap, bruh!!!"

Fuck you and anyone that thinks like that

[-] cylon@programming.dev 22 points 5 hours 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.

[-] SkunkWorkz@lemmy.world 11 points 5 hours ago

Remember that day when GDPR dropped and website suddenly started loading much faster.

[-] the_wiz@feddit.org 4 points 4 hours ago

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

[-] gnufuu@infosec.pub 7 points 5 hours ago

Duh, it's because more and more code is ran remotely. Wait...

[-] missandry351@lemmings.world 5 points 6 hours ago

Did my husband made this meme? Because he is constantly saying this πŸ˜‚πŸ˜‚πŸ˜‚πŸ˜‚

[-] x4740N@lemm.ee 1 points 4 hours 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 4 points 2 hours 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.

[-] buddascrayon@lemmy.world 20 points 11 hours 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.

[-] courval@lemmy.world 11 points 21 hours ago

Performance/optimisation wise is an environmental catastrophe..

[-] UnfortunateShort@lemmy.world 36 points 1 day 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.

load more comments (1 replies)
[-] Gxost@lemmy.world 26 points 1 day 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 14 points 1 day 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.

[-] adminofoz@lemmy.cafe 8 points 15 hours ago

Which faang company are you sr. engineer at?

[-] Gxost@lemmy.world 6 points 21 hours 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.

[-] cantstopthesignal@sh.itjust.works 3 points 11 hours ago

I remember there was a pretty funny prank program that would make the user's mouse pointer leave behind little poops on the screen at random.

[-] AppleTea@lemmy.zip 59 points 1 day ago* (last edited 1 day 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

[-] herrvogel@lemmy.world 19 points 1 day 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 18 points 1 day 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.

load more comments (2 replies)
load more comments (1 replies)
[-] kamen@lemmy.world 17 points 1 day 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.

[-] ILikeBoobies@lemmy.ca 2 points 5 hours ago

That’s how a bunch of apps broke when M$ got rid of explorer

load more comments (1 replies)
[-] TedDallas@programming.dev 50 points 1 day ago

#include "the_entire_fucking_internet.h"

load more comments (8 replies)
[-] Stovetop@lemmy.world 332 points 1 day ago

It's just that we have to make space for our 5,358 partners and the telemetry data they need.

load more comments (4 replies)
[-] Blackmist@feddit.uk 86 points 1 day ago

Fucking Chrome/Electron is why.

I honestly wouldn't mind that if they could all use the exact same runtime so the apps could be a few MB each, but nooooo.

load more comments (11 replies)
[-] WorldsDumbestMan@lemmy.today 26 points 1 day ago

Usually, instead of having 8-bit art, you have epic songs and very high definition textures. That is a good deal of why.

[-] TeamAssimilation@infosec.pub 29 points 1 day ago

I think the epic songs and 4K textures are missing in my MS Office.

load more comments (2 replies)
load more comments (7 replies)
[-] daniskarma@lemmy.dbzer0.com 222 points 2 days ago
load more comments (13 replies)
[-] Realitaetsverlust@lemmy.zip 58 points 1 day ago

Simple reason - dependencies.

Modern devs dump any dependency and sub-dependency under the sun into their project and don't bother about optimizing it. That's how you end up with absurdly large applications. Especially electron is a problem in this regard.

You can still write optimized and small software. However, for most businesses, it's just not worth their time. Rather using an additional couple hundred megabytes of dependencies on the client system.

load more comments (6 replies)
load more comments
view more: next β€Ί
this post was submitted on 21 Mar 2025
1475 points (98.2% liked)

Programmer Humor

21779 readers
1795 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS