Is this really something to be proud of? I thought snake_case was the common way of writing C?
Is this really something to be proud of? I thought snake_case was the common way of writing C?
I'm not saying that's bad, and the API seems really nice to work with, it's just a bit odd and against the "common wisdom" on how to design C libraries.
I guess for a game there might not be a lot of need for other libraries, since raylib really does a lot of stuff.
[1]: https://github.com/raysan5/raylib/blob/master/src/raylib.h
There's a couple of 'conventions' to avoid collisions between types and names, one would be PascalCase for types and camelCase for anything else, another is using snake_case for both, but use the _t postfix for types (which is a bit shunned upon because the _t postfix is reserved by POSIX - but not the C standard).