[aida] Class name prefix should be added to Squeak version?

Nicolas Petton 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?
> 
> Janko
> 
> 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,
> 
-- 
Nicolas Petton
http://nico.bioskop.fr
            ___
          ooooooo
         OOOOOOOOO
        |Smalltalk|
         OOOOOOOOO
          ooooooo
           \   /
            [|]
--------------------------------
Ma clé GPG est disponible ici :
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE788C34D
-------------- section suivante --------------
Une pi�ce jointe non texte a �t� nettoy�e...
Nom: non disponible
Type: application/pgp-signature
Taille: 189 octets
Desc: Ceci est une partie de message
	=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url: http://lists.aidaweb.si/pipermail/aida/attachments/20080116/daa30020/attachment.sig 


More information about the Aida mailing list