FP in D (today)
deadalnix at gmail.com
Thu Feb 23 08:44:50 PST 2012
Le 23/02/2012 15:50, Gour a écrit :
> After posting about "how to resolve "object-relational impedance
> mismatch" using D" dilemma, I did some more homework and today finally
> (after being advised in sqlite group) went through The Vietnam of
> Computer Science
> which confirmed that for our application the best course of action is to
> forget about any attempt to fix mismtach between relational and
> object-oriented model by using ORM and to simply skip OOP code in our
> application and focus more towards FP.
> Interestingly enough, here is intriguing sentence in the
> http://en.wikipedia.org/wiki/Functional_programming article stating:
> "Among imperative programming languages, the D programming language's
> solid support for functional programming stands out." so I'm curious if
> anyone more experienced with using FP paradigm in D can comment what
> works nicely and is there anything important missing in today's
> implementation of D?
Search for immutability and pure functions. You'll find what you need to
do FP in D.
More information about the Digitalmars-d