Hi,

On Tue, Nov 3, 2009 at 2:06 PM, Brian Aker <[email protected]> wrote:
> Hi!
>
> So what do folks want:
> string& foo;
>
> or
> string &foo;
>
> I slightly prefer the first because it makes a few things simpler (aka...
> like dropping the name of a param when we don't use it in a method), but
> either way is fine.
>
> For pointer:
> string *foo;
> or
> string* foo;
>
> I prefer the first, and I don't mind the clash in style. I'd like to pick
> one though.

I prefer:

string &foo;
string *foo;

I believe both should follow the same style i.e. we should be
consistent and not have the placement of & be different than the
placement of *.

-Padraig

>
> Cheers,
>        -Brian
>
> _______________________________________________
> Mailing list: https://launchpad.net/~drizzle-discuss
> Post to     : [email protected]
> Unsubscribe : https://launchpad.net/~drizzle-discuss
> More help   : https://help.launchpad.net/ListHelp
>

_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to