Stewart Smith wrote:
> On Sun, Mar 08, 2009 at 09:50:56AM -0400, Jay Pipes wrote:
>> and in implementation files, use a single using namespace statement,
>> like so:
>>
>> using namespace std;
>> using namespace drizzle::serialize;
>>
>> void myfunc(list some_list, Table some_table)
>> {
>> // blah, blah
>> }
>
> This can casually annoy me as it removes a lot of grep-ability of source
> (e.g. for things like Table. is it the serialised table or the in memory
> Table or something else?)
>
> until code indexers aren't complete turds, i think we have to keep
> greppability pretty high on the list of things to keep.
>
Perhaps then the above should change to:
using namespace std;
using namespace drizzle;
void myfunc(list some_list, serialize::Table some_table)
{
// blah, blah
}
I think in any case we should using namespace std; ... because we
certainly should't be making a drizzle::vector... :) But I am a fan of
greppability.
Monty
_______________________________________________
Mailing list: https://launchpad.net/~drizzle-discuss
Post to : [email protected]
Unsubscribe : https://launchpad.net/~drizzle-discuss
More help : https://help.launchpad.net/ListHelp