I sing the praises of lambda, my friend and savior!

Michael Hobbs mike at hobbshouse.org
Wed Oct 13 13:23:01 EDT 2004


Clark C. Evans <cce at clarkevans.com> wrote:
> In general, indentation is great for "outer-structure" that is, 
> delimiting large code blocks.  While delimiter based scoping is good
> for inner structures, small blocks of code.  It should not be an 
> either/or thing, one should properly have the option of using either
> option depending upon which style brings the most clarity.

The Haskell language (http://www.haskell.org) does exactly this. It uses
indentation to infer structure, but the programmer is allowed to explicitly
state structure using semicolons and braces.

- Michael Hobbs




More information about the Python-list mailing list