10 ms·
From 48k lines of code to 10–the story of GitHub’s JavaScript SDK
- csande17 7y agoSummary: they moved 47,990 lines into separate NPM packages.
- adossi 7y agoI can turn a million lines of code into 1 via minification
- sufyanadam 7y agoClickbait title
- cs702 7y agoPlease change the title, which is currently very misleading. An accurate title would be "Moving 48K lines of Javascript code to NPM packages."
- a_t48 7y agoWhile the title isn't super accurate, I don't agree with the other comments dismissing the work done here. Maybe "Refactoring Github's Javascript SDK for maintainability" or something along those lines.
- cosmotic 7y agofind node_modules/\@octokit/ | xargs wc -l 84575 total find node_modules/ | xargs wc -l 116038 total