Declarative Programming
Declarative Programming
7 AUGUST 2013
VIEN CARLO H. DOCTOR C H RY S J A N C . N AVA R RO
A formal system that PROGRAMMING COMPUTATION Take the next customer Show customer details defines how "IMPERATIVE" "DECLARATIVE" from a list. of every customer PARADIGMS MODELS computations are done. living in the If the customer lives in IMPERATIVE Philippines. Algorithm Goal
WHAT PROGRAMMING
Explicit
HOW
want, now you Free work from out specifying so it" how to do many details. approach
"step by step become important. Bound from less recipe" exploiting important. approach knowledge about
DECLARATIVE PROGRAMMING
DECLARATIVE PROGRAMMING
expresses the logic of a computation without describing its control flow.
attempts to minimize or eliminate side effects by describing what the program should accomplish.
SOURCES
Article: http://www.forbes.com Why Adopting the Declarative Programming Practices Will Improve Your Return from Technology by Dan Woods 17 April 2013 Blog: www.latentflip.com Imperative vs Declarative by Philip Roberts 2 April 2013 Book: www.manningsandbox.com Functional Programming for the Real World by Tomas Petricek and Jon Skeet