News for hackers. Stuff that matters.
Re:Show HN: Detecting the Programming Language of Code Using... by radarsat1 on Monday July 18, 2016 @02:02PM (#12116910)
Would love to see this for detecting which markup language was used for `README`.
Re:Show HN: Detecting the Programming Language of Code Using... by pprogrammer on Monday July 18, 2016 @02:07PM (#12116946)
Great idea! Will think about this when I am going to add languages.
Re:Show HN: Detecting the Programming Language of Code Using... by radarsat1 on Monday July 18, 2016 @05:48PM (#12118248)
But seriously, this could be really useful for github and the like, instead of having to rename project files to README.md etc, just have it display it based on best guess. I've always wondered why github doesn't bother to do this, but I guess it's better to not make a guess and get it wrong than to display a file poorly.