Lazy evaluation

David B. Held dheld at codelogicconsulting.com
Thu Jun 28 23:13:03 PDT 2007


Jarrett Billingsley wrote:
> "David B. Held" <dheld at codelogicconsulting.com> wrote in message
> 
>> ...yet.
> 
> So just how far is Walter going to go to please C++ programmers?  :P 

The problem is proxy types.  Proxy types happen to be useful, and in 
order for them to work properly, you basically need implicit casts. 
Want an example of proxy types not quite working properly?  Think what 
happens when you do ++ on a property or think of the magic that happens 
when you do it on a builtin hash.  That doesn't mean they will be 
implemented just like C++'s implicit casts; but if they fix these other 
holes in the language, as well as enabling a new pattern, isn't that a 
net win?

Dave



More information about the Digitalmars-d mailing list