title: Inline for loops in Julia
body: <p>I think you are encouraged to use these kind of <code>for</code> loops in Julia:</p>
  
  <pre><code>b = [i+1 for i in [1,2,3]]
  </code></pre>
  
  <p>but I wonder why, apart from more compact syntax which leads to better
  readability. Are these inline for loops more efficient to evaluate
  expressions? If yes, why? </p>