ONLamp.com: Advanced OOP: Declarative Programming and Mini-Languages, by David Mertz.
What we are interested in for this installment is ways of writing programs that are declarative rather than imperative. In many cases, simply notating facts is more concise and less error prone than providing instructions. A number of less common programming languages make declarative styles predominant, but it is also possible to use a declarative style within generally imperative languages. In this article, as with the others in this series, I will focus on techniques as exemplified in Python.
Feel free to post a comment below. Please see my comment policy.
Formatting Rules (No HTML):