BertHeesakkers / IGADPiGameServer

Game server created for educational purposes for IGAD (Breda University of Applied Sciences, the Netherlands)
3 stars 1 forks source link

[Docs] Pedantically create a code style convention? ;) #29

Open Zandor300 opened 6 years ago

Zandor300 commented 6 years ago

Create a file outlining exactly how @BertHeesakkers wants his code to be formatted!

simonrenger commented 6 years ago

I think the main rules are: (@BertHeesakkers am I right?) Barces Use a new line braces for code blocks: Wrong:

class Name {}

Correct:

class Name
{
[...]
}

Variables naming

Naming in general We are trying to give everything local and self-explanatory names so we do not need to add comments to understand the flow of the program.