On 2012-07-15 21:41, Jonathan M Davis wrote:

And on a purely objective note, if you don't have property enforcement, you
can't turn a property function into a variable, because even though it's
supposed to be used as one, you can't guarantee that everyone's using it that
way, and if they're using it as a function, changing the property into a
variable will break their code. And part of the point of properties is to be
able to switch between variables and property functions depending on whether
additional protections or calculations or whatnot are required for that
variable/property. Property enforcement is required in order to allow that.

Due to various other reasons this is still not possible.

* You cannot turn a virtual method into a variable
* For some type of variables you cannot change the variable into a method. We would need some kind of property rewrite

--
/Jacob Carlborg


Reply via email to