Also, check this bug in mantis http://bugs.squeak.org/view.php?id=6993 It can be added to the author class also and unify them in a single place. On Wed, Jul 22, 2009 at 4:35 PM, Miguel Cobá<miguel.coba@gmail.com> wrote:
On Wed, Jul 22, 2009 at 2:53 PM, Stéphane Ducasse<stephane.ducasse@inria.fr> wrote:
What is the goal with the Author class? I can see that the Utilities methods that used to be use to set author name and initials are being replaced with calls to Author. Also, they are deprecated in Utilities. Questions:
Author has name and initials, what will be the intended use of them?
We should not use initials.
This means that all the methods referencing initials should be replaced with calls to equivalent name methods?
We should not use Utilities in the future.
By previous mails in the list I remember that Pharo doesn't want to use initials (like mcm, lr, avi) but full name as hinted by the message prompt in the Author requestName. But then initials will have exactly the same that name in the author class?
It should be cleaned but nobody took the time.
I can do, but I need more directions
I can unify all the message sends to Author in the core image, also I can unify the initials and name usage, but
It would be nice :) The prompt should ask for firstname.lastname and not initials :)
So I can replace all the prompts to initials for name in the format you mention.
Will this format be the prefered/oficial one? Will other formats be allowed? Maybe asking for firstname and then for lastname and then inside Author concatenating in a firstname.lastname.
What happens with someone with two firstnames and lastnames, like me:
Miguel Enrique Cobá MartÃnez
Firstname: Miguel Enrique Lastname: Cobá MartÃnez
yes it is an bad example as I would write:
Firstname: Miguel Lastname: Cobá
What about spaces?
I need to know the intended goal for this class.
What is the goal?
To represent metadata of the author. Probably having initial and password for monticello/ squeaksource makes sense.
What is the reason to store the password, to automate login to squeaksource, or something like that?
Thanks, Miguel Cobá
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project