News for hackers. Stuff that matters.
Re:Show HN: Detecting the Programming Language of Code Using... by Vraxx on Monday July 18, 2016 @04:34PM (#12117902)
Ah, yes. That makes a lot more sense than how I was thinking about it. It would still be marginally better than just attempting to validate the code in expected languages because it would probably handle typos and other simple syntax errors, as well as snippet problems (like not declaring a certain variable in the snippet), but I can see where the output on an "invalid" program could be useful now.

There are no comments on this comment yet.