Hacker News new | ask | show | jobs
by Raineer 1591 days ago
To add to that, Github reads Arduino code as C++.

I know it's not truly this simple, but if the file extension is ".ino", I feel like your detection algorithm should be free to use that as a massive indication it is Arduino code.

1 comments

…but Arduino code IS c++ code. I don’t believe a distinction would make much sense.
They should throw AI at this problem.