Brian Aker 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.

The second can be as simple to drop a param:

string &

works just fine as an unused parameter slot. :)

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 consistency, and would vote for this style:

string *foo
string &foo

Cheers!

Jay

_______________________________________________
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