Proposal: Package aliases

Leandro Lucarella llucax at gmail.com
Fri May 16 07:51:07 PDT 2008


Ary Borenszweig, el 15 de mayo a las 22:05 me escribiste:
> Robert Fraser escribió:
> >Bill Baxter wrote:
> >>In theory, you don't have to because you can just use public members when you start out. 
> >> Property syntax gives you a way to hide those members later on if necessary.
> >You can use public members in C++ and Java, too...
> 
> But if you change them to methods later, at least in Java you'd have to append "()" after 
> each call... or if you want to be standard, rename it to get...()
> 
> Or just right click on the field in Eclipse and select Refactor -> Encapsulate Field... 
> ;-)
> 
> (well, but that breaks compatibility with existing clients)

Exactly.

I don't think this video says anything people here don't know, but just in
case:
http://www.archive.org/download/SeanKellyRecoveryfromAddiction/Recovery_from_Addiction.mov

BTW, is Plone's Sean Kelly related to Tango's Sean Kelly? =)

-- 
Leandro Lucarella (luca) | Blog colectivo: http://www.mazziblog.com.ar/blog/
----------------------------------------------------------------------------
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
----------------------------------------------------------------------------
You look so tired-unhappy,
bring down the government,
they don't, they don't speak for us.



More information about the Digitalmars-d mailing list