Hacker News new | past | comments | ask | show | jobs | submit login

I don't think there's an agreed-upon standard.

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).




No, not an standard. But most large C projects seem to use snake case while most C++ projects use Java-case (which OP calls pacal+camel case)




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: