Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 

Repository files navigation

Code Guidelines for Imaginate Projects

Naming Convention

Use UpperCamelCase(PascalCase) naming style for Functions

Do
public Vector3 SomeFunctionName(){
	// Some procedure
}
Don't
public Vector3 someFunctionName(){  
	// Some procedure
}

Use lowerCamelCase naming style for parameters, member variables, global variables, local variables

Do
private float someFloatValue = 10.f;
private int someIntValue     = 10;
Don't
private float SomeFloatValue = 10.f;
private int someintvalue     = 10;

Use ALLCAPS naming style for Constants (separated by underscores)

Do
private const float FLOAT_CONSTANT = 10.f;
private const int INTEGER_CONSTANT = 10;
Don't
private const float floatconstant  = 10.f;
private const int integer_Constant = 10;

About

Code guidelines, good practices and tips for projects housed in Imaginate

Resources

Stars

0 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors