lazy thoughts

Jason House jason.james.house at gmail.com
Mon Jan 12 20:41:46 PST 2009


Andrei Alexandrescu wrote:

> opApply should be first dipped in tar, then dipped in feathers, and
> finally walked around town in a wooden cage. I think it's the least of
> all D in the D spirit. Abstractions that look cute and pretend there's
> no cost => ~D.

I like opApply.  From a lazy container writer's viewpoint, it's increadibly easy to implement (we just need to get rid of the int return hack).

I'll definitely agree that it can be limited, but it can be very easy and simple.  I really hope ranges can obtain that degree of simplicity.  I guess time will tell :)



More information about the Digitalmars-d mailing list