elementary-dev-community team mailing list archive
-
elementary-dev-community team
-
Mailing list archive
-
Message #00086
Re: Coding Style - Parentheses and whitespace
Is there documentation on the current accepted coding style by the way?
Because the document on the elementary site is kind of
empty<http://elementaryos.org/docs/apis/coding-guidelines>
...
Regards,
Jaap
On Wed, Dec 14, 2011 at 5:01 PM, Allen Lowe <lallenlowe@xxxxxxxxx> wrote:
> 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
>
> --
> 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