title: Why SASS doesnt have local variables?
body: <p>Just switched from LESS and found that in SASS all variables in global. And so to define special variable for particular block I need to write something like <code>$words-that-describe-particular-block-padding: 10px;</code>. </p>
  
  <p>In all reviews authors rendered SASS as more advanced than LESS because of its feature-richness, but actually lack of such simple thing as namespacing kills all experience with it.</p>
  
  <p>Why that design decision was made? <br>
  Am I wrong and global-only variables are better by the reason that I am missing? </p>
  
  <p>upd:
  <br>
  SASS:<br></p>
  
  <pre><code>$var: 1px;
  #id1 {
  $var: 2px;
  width: $var;
  }
  #id2 {
  width: $var;
  }
  </code></pre>
  
  <p>LESS:<br></p>
  
  <pre><code>@var: 1px;
  #id1 {
  @var: 2px;
  width: @var;
  }
  #id2 {
  width: @var;
  }
  </code></pre>
  
  <p>Try the examples with this online compilers:</p>
  
  <ul>
  <li><a href="http://sass-lang.com/try.html" rel="noreferrer">http://sass-lang.com/try.html</a> </li>
  <li><a href="http://less2css.org/" rel="noreferrer">http://less2css.org/</a></li>
  </ul>