this post was submitted on 04 Nov 2025
572 points (99.0% liked)

Programmer Humor

27215 readers
538 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
[–] mr_satan@lemmy.zip 84 points 1 day ago (2 children)

Security through obscurity is not security. I see no reason why source maps should be unavailable.

[–] entwine@programming.dev 61 points 21 hours ago (1 children)

Because source maps show how shitty your organization's code and overall engineering practices are.

[–] phoenixz@lemmy.ca 36 points 21 hours ago (2 children)

Ding ding ding

Open source code is usually quite nice and well done because money pressure is way less of an issue and everyone knows people will be looking at your code

[–] ulterno@programming.dev 11 points 13 hours ago

If you look at the casual code that I have shamelessly made public on my GitLab, that might change your mind on that.

[–] Lifter@discuss.tchncs.de 8 points 18 hours ago (1 children)

That's probably also why development is usually really slow and most maintainers can't keep up/give up.

Nope, it is simply because they are overwhelmed. Either it's too much work to do after your day job or just too much work for one person.

[–] mack@lemmy.sdf.org 1 points 7 hours ago (1 children)

depends.

if we're talking about a personal website nobody will care. if you are a multibillion company and there's the risk that literally anyone can create a 1:1 clone of your services... yeah that's a bit of a trouble

[–] mr_satan@lemmy.zip 4 points 7 hours ago (1 children)

Omitting source maps doesn't prevent that.

[–] mack@lemmy.sdf.org 1 points 4 hours ago (1 children)

no it doesn't, and I am very aware that if anything runs on someone's computer then it can get replicated. but it gets slightly harder, also to reverse-engineer it or find potential fallacies. as well as source maps on prod are just a waste of bandwidth

[–] mr_satan@lemmy.zip 1 points 2 hours ago* (last edited 2 hours ago)

Dunno, this "harder" argument while valid sounds just like false security. That's why I don't see much weight in it.

As for bandwidth, source maps are not automatically pulled from server, so it also seems like a false issue to me.