* _brian_d_foy ([EMAIL PROTECTED]) [030121 08:38]:
> In article <[EMAIL PROTECTED]>, Johan
> Vromans <[EMAIL PROTECTED]> wrote:
>
> > [Quoting Mark Overmeer, on January 20 2003, 19:16, in "Re: Module submissio"]
> > > Many applications have a need for User information: address books, e-mail
> > > tools, databases, configuration systems, etc etc. So the common devider
> > > should take its own name space.
> >
> > Agree, no problem, but somehow "User::" doesn't feel right to me.
>
> no, User is not right. typically the "user" is the computer operator,
> and this sounds like a catalog of people.
In your program, if you want to pass on one piece of data about one person,
are you willing to call it by a name indicating 'catalog'?
my $me = Catalog->new('Mark', phone => '+31-00-00000000');
or
my $me = User::Identity->new('Mark', phone => '+31-00-00000000');
and
my @friends = Catalog->new(@user_identities);
well... to polute name-space not too much, I came to
my @friends = User::Identity::Collection->new(@user_identities)
Of course, 'User' is nicer than 'User::Identity', but already taken.
--
MarkOv %-]
------------------------------------------------------------------------
drs Mark A.C.J. Overmeer MARKOV Solutions
[EMAIL PROTECTED] [EMAIL PROTECTED]
http://Mark.Overmeer.net http://solutions.overmeer.net