title: Solidity return function why the constant?
body: <p>I am just starting with solidity. I have a function like so:</p>
  
  <pre><code>function get() constant returns (uint) {
      return storedData;
    }
  </code></pre>
  
  <p>What is the use of the constant keyword here? I understand that after this keyboard we are defining the return type but why does it need constant in front of it? Are there alternatives to this such as <code>var</code>?</p>