[aida] Class name prefix should be added to Squeak version?
petton.nicolas at gmail.com
Wed Jan 16 15:42:33 CET 2008
Le mercredi 16 janvier 2008 à 15:38 +0100, Janko Mivšek a écrit :
> Well, I had a bad feeling that a name clash will happen, but not so soon.
> Aida has most classes already prefixed with Web (WebSession, WebElement
> etc.) which is just natural for a web framework and you hardly noticed
> that. I usually don't like prefixes like WA and similar, they just don't
> sound well and spoil a natural language feeling of Smalltalk.
It is just a squeak convention, and almost every project use it.
> In case of Address and other in Party/Role framework, those classes were
> added later when VW already had namespaces and I stoped caring about
> such slashes. But now with proting to other Smalltalks we need to take
> care of them again.
> So, I propose to rename just those classes to something nice sounding
> and not far from their intention, as it was in case of Web prefix. And
> the same for Scribo classes too!
> Any ideas about how to prefix all those classes?
> Masashi UMEZAWA wrote:
> > Hi all,
> > When I tried AddressBook tutorial, I've encountered class name
> > conflict problem. There is already a class named Address in AIDA, and
> > the tutorial also introduces a new Address class.
> > In VW, there would be no problem, because of namespaces. But in
> > Squeak, probably we should add some prefixes to all AIDA (and Swazoo)
> > class names.
> > This is of course a 'big change', but since we have prepared a brand
> > new SqueakSource repository, it would be a good timing.
> > What do you think?
> > Best regards,
Ma clé GPG est disponible ici :
-------------- section suivante --------------
Une pi�ce jointe non texte a �t� nettoy�e...
Nom: non disponible
Taille: 189 octets
Desc: Ceci est une partie de message
More information about the Aida