Hobbit
03-05-2013, 05:58 AM
Some people are going over the same parts changing standards back and forth so we are going to standardize our code! (Based off SRL Dev Standards)
i (or any variable) when used in the context of a for loop is always lowercase
and bolded words (keywords like if, then, begin, end, for, function, procedure) are to be all lowercase
CONSTANTS should be all caps (With underscores where normal camel case would go, ie: CONST_NAME)
variables are camel case with the first letter always lower case (ie: exampleVariable)
Its late and this is all that comes to mind atm but I will post more as I see it. Don't waste time scouring through the code to fix it, but if you come across it, fix it and just keep this in mind going forward :)
(Was certain we had a thread in dev listing out everything but i cant find it atm)
Here is a thread that will be helpful, not the one I was meaning but still good http://villavu.com/forum/showthread.php?t=60288
i (or any variable) when used in the context of a for loop is always lowercase
and bolded words (keywords like if, then, begin, end, for, function, procedure) are to be all lowercase
CONSTANTS should be all caps (With underscores where normal camel case would go, ie: CONST_NAME)
variables are camel case with the first letter always lower case (ie: exampleVariable)
Its late and this is all that comes to mind atm but I will post more as I see it. Don't waste time scouring through the code to fix it, but if you come across it, fix it and just keep this in mind going forward :)
(Was certain we had a thread in dev listing out everything but i cant find it atm)
Here is a thread that will be helpful, not the one I was meaning but still good http://villavu.com/forum/showthread.php?t=60288