Not logged inOpenClonk Forum
Up Topic Collisions between IDs and variables/functions

This board is threaded (i.e. has a tree structure). Please use the Reply button of the specific post you are referring to, not just any random button. If you want to reply to the topic in general, use the Post button near the top and bottom of the page.

Post Reply
In Response to AlteredARMOR
You can call global methods g_DoThis() as well as global variables (though g_* prefix would not be so understandable). As for variables I personally like it the way you've mentioned (first letter in lower case, second, third and so on word starting with capital letter). As for constants... well, can be FOO_Bar or FOO_BAR, - no big deal.
The more important issue is that everyone uses THE SAME naming conventions (preliminarly defined) to make the code somewhat standartized and easy-to-read by (again) everyone.

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill