functional

Walter Bright newshound1 at digitalmars.com
Wed Mar 10 14:44:02 PST 2010


Justin Johansson wrote:
> Certainly though, to code C/C++ in a 
> functional fashion requires a fair amount of experience and
> rethinking of imperative coding habits.

Ironically, my own use of C/C++ is tending more and more to adopt 
functional idioms.


> There is no reason to think that D programming cannot also be
> approached with a functional mindset.

My experience with traditional FP languages is limited to reading about 
them, and writing some very small programs in Lisp. But I think that D's 
support of immutability and purity go a long way to supporting FP 
idioms, a lot longer than C/C++.



More information about the Digitalmars-d mailing list