Saturday, January 08, 2011

Functional programming in Python 2.6

I was chatting with a friend about functional programming and I realized that some of the uses of functions are not that clear, especially for those programmers that are mostly used to imperative-style languages.
So I wrote down a few examples to show where functional programming can be useful, just off the top of my head, and since I'm playing with Python 2.6, I implemented the examples in this nice language (that has a blend of object-oriented and functional features).

Here you can see the results of this "effort" ;)
[zipped code]

[zipped code] FIXED 16 Sept 2012

2 comments:

spiffytech said...

Dead link.

Andrea Valente said...

Thanks for the comment, now the zip is accessible again :)

Post a Comment