My screen is still not large. I see about 30 lines in my screen. Perhaps that's indeed the reason why I prefer brackets in front of statements.

@frank:
I prefer to attach the ( to an if, because it looks more like the statement is part of the if, like encapulated. I think very visual in these styles. It's like a tiny machine that holds content, and processes it.

I wouldn't mind a language made out of ascii art grin

if( a + b = c ) {
}

[(> a + b = c <)]::>
<::


@DJBMASTER
There are actually common rules for markup, though not strictly followed.

Classes and constants get a capital letter:
class HelloYou {};
const int HelloYou;

Variables and methods a small letter:
int helloYou;
void helloYou();

Header definitions all capital:
#ifndef __HELLOYOU_HPP__
#define __HELLOYOU_HPP__

and I'm sure there are more which I can't think of right now.


I tend to use an underscore _ when names consist of categories and a function description.

void playerInventoryItem_create();
void enemyWeapon_remove();

Last edited by Joozey; 07/28/09 15:52.

Click and join the 3dgs irc community!
Room: #3dgs