title: Should I always use pillar.get instead of pillar['foo']?
body: <p>I see in the pillar documentation that there are two ways to reference pillar data in an SLS.</p>
  <pre><code>{{ pillar['foo'] }}
  </code></pre>
  <p>and</p>
  <pre><code>{{ salt['pillar.get']('foo') }}
  </code></pre>
  <p>The pillar.get method handles nested pillar data better and allows to specify a default if the data isn't found in the pillar. But it's a bit more typing and I find the first method easier to read.</p>
  <p>So, is it considered best practice to always use the pillar.get method or is using the pillar['foo'] acceptable, especially when dealing with non-nested pillar data.</p>
  <p>I suspect always using the pillar.get method is best since it make sense to use it when dealing with nested pillar data or you want to set a default. And it's best to just you one method consistently. But I wanted to get other people's thoughts.</p>