5 ms·
What they really need is a way to rank github code by quality - so that a tool like this pulls in the good code (as opposed to code of lesser quality)
by ThinkCritically 11y ago
What they really need is a way to rank github code by quality - so that a tool like this pulls in the good code (as opposed to code of lesser quality)
- drumdance 11y agoPerhaps instead of using StackOverflow "correct" answers, someone could create a site that has example of anti-patterns and code smells, which you could then use to analyze the code on Github and link to possible alternatives.
- matt4077 11y agoThat's basically what linters do.
- lincolnbryant 11y agoESLint catches many
- TheOtherHobbes 11y agoThen you build a helper tool that analyses the differences between good code and bad code. Then you set it loose on its own source - and you have an AI that takes over the world. (Or at least github, which is more or less the same thing.)
- jonnycowboy 11y agoHave the code editor report back to the cloud the amount of times a certain snippet was "selected"/used. And just rank the drop-down box/autocomplete options accordingly.