title: Is it better to use local variables or chain methods inline?
body: <p>If I have a series of method invocations, the value of each used for the next call, should I store them in local variables, like so:</p>
  
  <pre><code>DynamicForm filledForm = Form.form().bindFromRequest();
  String shareIdStr = filledForm.get("data[shareId]");
  UUID shareId = UUID.fromString(shareIdStr);
  Share share = Share.find.byId(shareId);
  </code></pre>
  
  <p>or as a single invocation chain, like so:</p>
  
  <pre><code>Share share = Share.find.byId(UUID.fromString(Form.form().bindFromRequest().get("data[shareId]")));
  </code></pre>
  
  <p>In this case, the only value that is used again is <code>share</code>. Perhaps the answer is somewhere in-between, or is something completely different. What's your opinion?</p>