Book Excerpt: Chapter 6: Functions and Functional Programming

Posted by Scott_Ruecker on Oct 10, 2009 6:05 AM EDT
Linux Journal
Mail this story
Print this story

Read an excerpt from the 4th Edition of the book Python Essential Reference by David Beazley. Chapter 6: Substantial programs are broken up into functions for better modularity and ease of maintenance. Python makes it easy to define functions but also incorporates a surprising number of features from functional programming languages. This chapter describes the basic mechanisms associated with Python functions including scoping rules, closures, decorators, generators, and coroutines.

Full Story

  Nav
» Read more about: Story Type: News Story; Groups: Linux

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.