← Back to context

Comment by TheAceOfHearts

3 months ago

Honestly, I think including source maps for your frontend code should be the standard. Maybe web apps will get better if people can actually start studying existing frontend sourcemaps to learn good patterns which are being used in production by companies with lots of experienced engineers. Tons of people love to complaint about terrible web apps, but finding high quality web app examples to study and learn from is actually really difficult! Let's not pretend that the trivial todo-apps are where you're gonna go to learn anything about how a real-world app is organized.

I think this title is misleading, it makes it seem like more than just the unobfuscated code has been exposed.

Yes, the repo creator's tone is obnoxious.

> Remember: Always disable sourcemaps in production!

Or don't. There is a non-zero possibility that this wasn't even an accident.

One has serious doubts that the person who wrote this even understands (and can articulate the reasons) why they have this position.

In any case, GitHub isn't an unredactable, append-only ledger. "Archiving" this on a site that is no less subject to DMCA takedowns than any other site but that differs from other sites in having exceptionally fast response times to takedowns is not an especially well-thought-out move.