this post was submitted on 24 Jun 2024
742 points (95.6% liked)
Technology
59689 readers
4100 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related content.
- Be excellent to each another!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, to ask if your bot can be added please contact us.
- Check for duplicates before posting, duplicates may be removed
Approved Bots
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I chalk it up to lazy rushed development. Good code is art.
That's not true at all. The code doesn't take much space. The content does. Your high quality high res photos, 4K HDR videos, lossless 96kHz audio, etc.
But there are lots of shortcuts now. Asset packs and coding environments that come bundled with all kinds of things you don't need. People import packages that consume a lot of space to use one tiny piece of it.
To be clear, I'm not talking about videos and images. You'd have these either way.
All these packages don't take much memory. Also tree shaking is a thing. For example, one of the projects I currently work on has over 5 gigs of dependencies, but once I compile it for production, the whole code based is mere 3 megs and that's including inlined styles and icons. The code itself is pretty much non-existent.
On the other hand I have 100KB of text translations just for the English language alone. Because there's shit loads of text. And over 100MB of images, which are part of the build. And then there's a remote storage with gigabytes of documents.
Even if I double the code base by copy pasting it will be a drop in a bucket.