Hacker News new | ask | show | jobs
by nox_ 4477 days ago
> C++ gets often recognized as C.

The disambiguation test for C++ headers is ridiculous:

      matches << Language["C++"] if data.include?("#include <cstdint>")
1 comments

Well, I expect that's why so much C++ is misrecognized. Not enough people write valid C++, in Github's narrow world view. :)