08-27-2009, 06:09 PM
I prefer something like this:
... which is the same as Pugwipe's example apart from that I don't use spaces before the parenthesis when calling functions.
Any way is fine for me (I'll adjust without bigger issues), and I do agree that deciding upon one way is a good idea.
Code:
public bla()
{
if (bla == 1) {
callFunction();
}
}
... which is the same as Pugwipe's example apart from that I don't use spaces before the parenthesis when calling functions.
Any way is fine for me (I'll adjust without bigger issues), and I do agree that deciding upon one way is a good idea.