The Greater Toronto Area Python User's Group (PyGTA)

15th December, 2009

Functional vs. OO Python

Functional Programming is a style of programming in which there are no side-effects and where the code is lazy, not just the programmer. Python has (limited) support for a functional programming style, including the itertools module, generators and co-routines. We'll explore how to make use of these tools and we'll contrast them with the more familiar classes, properties and methods of the OO approaches.

This month's meeting style is a "code smack-down"; a head-to-head collaborative coding exercise. We'll decide on a series of small tasks and then attempt to implement them in small groups using both functional and OO styles of programming to compare, contrast and learn.