[phobos] Time to get ready for the next release

Jacob Carlborg doob at me.com
Sat Apr 23 08:31:43 PDT 2011


On 23 apr 2011, at 04:36, Robert Jacques wrote:
> Actually, seamlessly switching between field and field-like methods isn't a design goal of 'properties'. The actual design goal is to allow the promotion of a field into a member function. Once that occurs, you can never go back, due to method overloading. In fact, OOP concerns were one of the major driving forces behind 'properties' in the first place.

If I'm not mistaken you can switch between public fields and properties in Scala. Because in Scala public fields are implemented as methods, that is, properties.

-- 
/Jacob Carlborg

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/phobos/attachments/20110423/a4bb1d3a/attachment.html>


More information about the phobos mailing list