[pythonvis] Indentation of code

  • From: "Richard Dinger" <rrdinger@xxxxxxxxxx>
  • To: <pythonvis@xxxxxxxxxxxxx>
  • Date: Wed, 7 May 2014 19:41:05 -0700

A close relative to Sharon’s code format issue is how many spaces to use in 
code examples.  This may be controversial.

Although four spaces is the most common indentation, I suggest two spaces per 
indentation level will work better especially for email.  Two and four spaces 
are both common standards, but four spaces eats too much page territory.

Richard

Other related posts: