property syntax strawman

Robert Jacques sandford at jhu.edu
Mon Aug 3 07:06:23 PDT 2009


On Mon, 03 Aug 2009 00:27:45 -0400, Nick Sabalausky <a at a.a> wrote:

> "Robert Jacques" <sandford at jhu.edu> wrote in message
> news:op.ux2gvcvi26stm6 at sandford.myhome.westell.com...
>>
>> I agree 1) is an issue, but I view it as a corner case. (I use zero/one
>> arg functions all the time and make use of the 'property' syntax left
>> right and center, but I've never run into the opCall problem) It would  
>> be
>> nice if it were fixed, but we may be cutting off the nose to spite the
>> face, as it were. (Or alternatively, taking the scientific instead of
>> engineering approach)
>>
>
> It'll become a major PITA when D gets used for heavy functional-style  
> stuff.
>
>

Maybe. But how often will people return zero-argument opCalls (function  
pointers/delegates/structs) from zero-argument functions? (i.e. how often  
do you run into this today?)



More information about the Digitalmars-d mailing list