1

What do you prefer?

Example(){
//code.
}

Or

Example()
{
//code.
}

Comments
  • 0
    New line for classes and methods, same line for logic statements and loops
  • 1
    @groxx
  • 2
    Is it compulsory for someone to ask this every week?

    Also not a rant, should be posted with the question tag.
  • 0
    Yes, as long as it's consistent.
Add Comment