Re:Imperative vs. Declarative
by richardwhiuk on Tuesday April 02, 2013 @01:25PM
(#5480729)
I agree. I don't recognize the examples here as declarative programming.
SQL and Prolog are both examples of declarative programming, so is Make to an extent. Using a map function doesn't make JavaScript a declarative programming language - it's a functional programming concept, not a declarative one.
SQL and Prolog are both examples of declarative programming, so is Make to an extent. Using a map function doesn't make JavaScript a declarative programming language - it's a functional programming concept, not a declarative one.