this post was submitted on 21 Mar 2025
1477 points (98.4% liked)

Programmer Humor

21809 readers
1804 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] daniskarma@lemmy.dbzer0.com 219 points 2 days ago (2 children)
[–] jmcs@discuss.tchncs.de 157 points 2 days ago (1 children)

And analytics. And offloading as much computation to the client, because servers are expensive and inefficiency is not an issue if your users are the ones paying for it.

[–] kbotc@lemmy.world 19 points 1 day ago (1 children)

I saw an ad request with an inline 1.4 MB game. Like, you could fit Mario in there.

The Samsung shop hands out 1.4mb JSON responses for order tracking, with what I estimate 99% redundant information that is repeated many times in different parts of the structure.

[–] lobut@lemmy.ca 35 points 2 days ago* (last edited 2 days ago) (2 children)

Web "Apps" are also quite bad. Lots of and lots of stuff we're downloading and it feels clunky.

Sometimes that's bad coding, poor optimization, third party libraries, or sometimes just including trackers/ads on the page.

[–] Onomatopoeia@lemmy.cafe 42 points 2 days ago (2 children)

I vaguely recall a recent-ish article that an average web page is 30mb. That's right, thirty megabytes.

It's amazing how much faster web browsing becomes when I run PiHole and block most of it.

Suddenly the TV is pretty snappy, and all browsers feel so much smoother.

[–] SorryQuick@lemmy.ca 5 points 1 day ago* (last edited 1 day ago)

That’s straight up not true. It’s not even remotely close to that.

https://httparchive.org/reports/page-weight

[–] Lemminary@lemmy.world 5 points 1 day ago (1 children)

And I'm sitting here uneasy thinking how the hell I'm going to compress my map data any further so that my entire web app is no bigger than 2 mb. 😥

[–] lord_ryvan@ttrpg.network 6 points 1 day ago (1 children)
[–] Lemminary@lemmy.world 2 points 1 day ago

Oh god, I'm not ready for the trauma and the emotional scars... D:

[–] thesystemisdown@lemmy.world 20 points 2 days ago (3 children)

Some devs will include a whole library for one thing instead of trying to learn another way to do that thing.

[–] techt@lemmy.world 23 points 1 day ago
from * import *
[–] chraebsli@programming.dev 13 points 1 day ago

A whole library which was meant to to 10 things, but you only use one. And that for x libraries

[–] bleistift2@sopuli.xyz 7 points 1 day ago

Nowadays libraries are built with tree-shaking in mind, so when it’s time to deploy the app only the code that’s actually used gets bundled.