[phobos] Time to get ready for the next release

Michel Fortin michel.fortin at michelf.com
Thu Apr 21 11:34:43 PDT 2011


Le 2011-04-21 à 13:45, Jonathan M Davis a écrit :

> TDPL specifically gives it strict semantics. @property functions must be 
> called without parens, and non- at property functions must be called with them. 
> So, if we want to go with loose semantics, then TDPL will need to be changed.
> 
> Personally, I don't see much point to @property if its semantics are loose.

Me neither: if the semantics are loose @property serves no purpose.

But there's still a big problem: the semantics of @property are quite ambiguous when it comes to the array member syntax. Something needs to be done about that before @property can be enforced properly.

I think having a @property-enforced mode, which could stay experimental for a few releases (activated with a command-line switch), would help test and sort out many of those issues. I can make a pull request for that -- is that a good idea?

-- 
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/





More information about the phobos mailing list