[squeak-dev] Extracing author information from Utilities

Colin Putney colin at wiresong.com
Fri Sep 14 19:41:16 UTC 2012

On Fri, Sep 14, 2012 at 10:36 AM, Levente Uzonyi <leves at elte.hu> wrote:

> Another idea is to not try to make the new implementation resemble the old
> one, just ensure the compatibility via the methods in Utilities.

My feeling is that "Author current" should be the only place where we
lazily initialize by asking the user. Then Author>>initials would just
be a normal accessor, and Author class>>initials would go through
#current. The tricky bit with that idea is that we'd need a slightly
more elaborate UI, so let the user fill in both initials and username.

One idea would be to get rid of #username for now, and have Author
objects with just initials. Then in 4.5 we we'd flesh things out a bit

> I used #name on the instance side first, but I decided to unify the two
> sides. If we decide to drop the class side convenience methods, then we can
> use #name.

Ah, that makes sense. But how about #fullName? For me, #username
implies some kind of account somewhere, either the "current user" from
the OS, SqueakMap, SqueakSource or the like.


More information about the Squeak-dev mailing list