functional

Justin Johansson no at spam.com
Wed Mar 10 14:49:54 PST 2010


Walter Bright Wrote:

> 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++.

No argument there and I would hope so! :-)




More information about the Digitalmars-d mailing list