×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




This how Borland's Object Pascal (Delphi) language works, too. Properties are actually defined by a different syntax than member fields and for each property both the read and write operations can be defined as either direct access or via an accessor/mutator, or omitted altogether to make the property read- or write-only. I guess .NET adopts a variation of this same approach. It's pretty neat syntactic magic, but having come to Java from Delphi (via some detours) I can say I don't really miss the sugar at all.

t.

On 9-Jan-2008, at 9:46 PM, Joe Pluta wrote:

P.S. If I'm reading this correctly, the simple dot notation is actually the
standard in .NET, but with implicit calls to getters/setters. That's
actually kind of neat, and I bet I cold get used to it.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.