Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There is a bias because there is more C code. The number of repositories doesn't equal to the quantity of code and if you search for general things that are used in both languages frequently then there is always more C results, for example:

https://github.com/search?p=1&q=if+&ref=searchresults&type=C...

https://github.com/search?p=1&q=return+&ref=searchresults&ty...



Fair enough. If there is a bias towards C I would guess it was more due to the situations in which C gets used, than C itself. Talking to a friend who has to try and get the same C/C++ codebase to compile for 6 different platforms (consoles) has been an eye opening experience. That kind of environment is like a slightly warm petri dish for ugly hacks.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: