Everyone know k&r is the way to go. Who needs a new line for a brace? Not us.
Allman is annoying and Whitesmith is just strange.
Having said this, I bet this topic will be deleted, due to the fact that nobody could ever argue with my aforementioned convictions
- Code: Select all
private void determineBestStyle(int styleChoice)
{
if(styleChoice == K_R){
println("Obviously!");
} else {
throw new ErrorException("This could never be the case");
}
}
edit: fixed some things..
