[pythonvis] Re: Indentation of code

  • From: "Charles Rivard" <wee1sman@xxxxxxxxxx>
  • To: <pythonvis@xxxxxxxxxxxxx>
  • Date: Thu, 8 May 2014 12:05:18 -0500

Are there different levels on indentation?  If so, wouldn't the program run 
differently when different lengths of indentation is used?  Or are you speaking 
only of representation for reading purposes rather than for actual code 
writing?  Thanks.

---
Be positive!  When it comes to being defeated, if you think you're finished, 
you! really! are! finished!
  ----- Original Message ----- 
  From: Richard Dinger 
  To: pythonvis@xxxxxxxxxxxxx 
  Sent: Wednesday, May 07, 2014 9:41 PM
  Subject: [pythonvis] Indentation of code


  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: