title: Elixir - Difference between keyword lists and maps
body: <p>Just started with Elixir book by Dave Thomas.</p>
  
  <p>It talks about two concepts:</p>
  
  <p><strong>Keyword lists</strong></p>
  
  <pre><code>[ name: "Dave", city: "Dallas", likes: "Programming" ]
  </code></pre>
  
  <p><strong>Maps</strong></p>
  
  <pre><code>states = %{ "AL" =&gt; "Alabama", "WI" =&gt; "Wisconsin" }
  </code></pre>
  
  <p>When would you choose one over the other?</p>