cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylv...@apache.org>
Subject Re: CForms: some renamings on the Widget interface
Date Tue, 14 Jun 2005 21:33:53 GMT
Ralph Goers wrote:

> Sylvain Wallez wrote:
>
>> Glen Ezkovich wrote:
>>
>>
>> Yes, changes are possible, and each time some have occured we have 
>> made sure that existing code will either run in compatibility mode 
>> (with the appropriate deprectation logs) or fail hard by explaining 
>> what's happening.
>>
>> The problem here is that the semantics of an existing method changes, 
>> and existing code will still compile and run, but with the wrong 
>> data. Hence these two steps.
>>
>> Sylvain
>
>
> I can see you're set on doing it this way say I'm not sure why I'm 
> posting.  Well, yes I am....
>
> It would probably be easier for everyone if getId() just went away 
> never to be seen again.  Just pick some other name that doesn't 
> conflict.  That is why I suggested getLocalName() and getFullName().  
> Or whatever.


Hmm... localName and fullName have no ambiguity that id and name may 
have, and aren't that long enough to type. And don't require that 
two-steps approach. Lots of advantages...

I'll sleep on this, but I think I finally like fullName and localName :-)

Sylvain

-- 
Sylvain Wallez                        Anyware Technologies
http://apache.org/~sylvain            http://anyware-tech.com
Apache Software Foundation Member     Research & Technology Director


Mime
View raw message