title: Hidden Whitespace Best Practice
body: <p>I think most people agree that trailing whitespace is not good practice. A lot of editors will display it for you or automatically strip it out.</p>
  
  <p>Consider this Python function as a simple example:</p>
  
  <p><img src="https://i.stack.imgur.com/USbCk.png" alt="Whitespace Example Screenshot"></p>
  
  <p>The extra whitespace on lines 11 and 13 are wrong. What I'm wondering about is line 10. Should a blank line inside a control block that doesn't change indentation have leading whitespace? </p>
  
  <p>Most editors I've used will keep the cursor at the indentation level from the preceding line, so making a blank line without leading whitespace takes some extra formatting. What's the best practice? Should line 10 have leading whitespace or not?</p>