elementary-dev-community team mailing list archive
-
elementary-dev-community team
-
Mailing list archive
-
Message #00085
Re: Coding Style - Parentheses and whitespace
the correct format is option 1 I believe.
Allen Lowe
On Wed, Dec 14, 2011 at 8:50 AM, David Gomes <davidrafagomes@xxxxxxxxx> wrote:
> I've been having this doubt ever since I joined the dev team:
>
> 1: printf ("Hello elementary devs\n");
> 2: printf("Hello elementary devs\n");
>
> 1: var my_object = new Class ();
> 2: var my_object = new Class();
>
> Which one is the one we adapted, with or without a space precending
> parentheses? Thanks.
>
> --
> David Gomes
>
> --
> Mailing list: https://launchpad.net/~elementary-dev-community
> Post to : elementary-dev-community@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~elementary-dev-community
> More help : https://help.launchpad.net/ListHelp
Follow ups
References