title: Where do you like to split long lines?
body: <p>For manually wrapping long lines, what is your personal heuristic for choosing places to break a line?</p>
  
  <p>Assuming this line is too long, where might you break it and it what order of precedence?</p>
  
  <pre><code>double var = GetContext()-&gt;CalculateValue(element, 10.0);
  </code></pre>
  
  <p><br>
  Most people agree about separating parameters per line:</p>
  
  <pre><code>double var = GetContext()-&gt;CalculateValue(element,
                                            10.0);
  </code></pre>
  
  <p><br>
  Does anyone break at an opening paren?</p>
  
  <pre><code>double var = GetContext()-&gt;CalculateValue(
                                   element, 10.0);
  </code></pre>
  
  <p><br>
  But how bout with a dereferencing operator (or <code>.</code>):</p>
  
  <pre><code>double var = GetContext()
                   -&gt;CalculateValue(element, 10.0);
  </code></pre>
  
  <p>or would you:</p>
  
  <pre><code>double var = GetContext()-&gt;
                   CalculateValue(element, 10.0);
  </code></pre>
  
  <p><br>
  Any different for the assignment operator?</p>
  
  <pre><code>double var = 
      GetContext()-&gt;CalculateValue(element, 10.0);
  </code></pre>
  
  <p>or</p>
  
  <pre><code>double var
      = GetContext()-&gt;CalculateValue(element, 10.0);
  </code></pre>
  
  <p>Any others?</p>
  
  <p><br>
  If your system is procedural, you could answer like this:</p>
  
  <ol>
  <li>Parameter names at comma</li>
  <li>Before a <code>-&gt;</code> or <code>.</code> operator</li>
  <li>After an assignment operator</li>
  </ol>
  
  <p>Or just post some example code!<br>
  Bonus points if you can academically justify your breaking decision.</p>