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

_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos

Reply via email to