[Tutor] using the reduce function

Danny Yoo dyoo at hkn.eecs.berkeley.edu
Fri Jan 23 00:33:11 EST 2004



On Thu, 22 Jan 2004, Christopher Spears wrote:

> What is the difference between functional logic and the imperative style
> of logic.

Hi Christopher,

David Mertz has written a lot of articles on functional programming in
Python.  He's a functional programming nut... in a good way!  *grin*

His series is a good introduction:

    http://www-106.ibm.com/developerworks/linux/library/l-prog.html
    http://www-106.ibm.com/developerworks/library/l-prog2.html


John Hughes has written a very readable paper called "Why Functional
Programming Matters":

    http://www.math.chalmers.se/~rjmh/Papers/whyfp.html

Although it was written in the 1980's, it's still quite fresh.  Hughes
gives concrete examples of the functional style of programming in
real-life situations, and where functional programming can really pay off.
Highly recommended.


Good luck to you!




More information about the Tutor mailing list