by polote · 5y ago · 0 comments
I don't think that Twitch has closed source code because they want to keep code private. It's probably more a matter of don't want to show commit message in case there are some bad words inside it. And don't want to show the world in case their source code look bad.
Twitch without its code source can't work yeah, but imagine if all the commits of Twitch were public I doubt it would change anything for them.
That would be nice if their was a mental change about source code and that it is fine to show it even if it looks shit.
There is also the issue of security. I'm sure people will be combing through the source code to find anything they can exploit, even if it's a simple XSS attack. It could either be sold/used for malicious actions or submitted to the bug bounty program for the reward money.
Snippets of open source code.
Commit messages that imply anti-competitive behaviour ("Committing a change to the API to lockout competitor XYZ").
Commit messages that imply code theft ("Using a method that we used at my previous company").
etc.
Sometimes things that look sketchy might be innocent but will still cause nightmares for twitch since they'll now have to play defensively as people call into question anything that ever went into the repo.