Starting from scratch, I would choose: string& foo; string* foo;
But since we already use 'string *foo' almost everywhere, I would choose: string &foo; string *foo; I don't like the idea of mixing the two styles, but not a huge deal either way. -Eric On Tue, Nov 03, 2009 at 11:06:37AM -0800, 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. > > 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. > > 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

