title: What the inline function actually do?
body: <p>I was searching the internet a few topics related to inline functions, but none of them took my doubts.</p>
  
  <p>So far I know the inline function works the same way that a method or a block, but recently saw the following response:</p>
  
  <blockquote>
    <p>By declaring a function inline you tell the compiler to replace the
    complete code of that function directly into the place from where it
    was called. This is a rather advanced feature that requires
    understanding of lower-level programming.</p>
  </blockquote>
  
  <p>So that means that in normal functions:  <strong>I was at a point A and wanted to go to point B for that I get out of A and go to B, right?</strong></p>
  
  <p>Have inline functions works in this way: <strong>I was at point A and would like to go to point B for that point B comes up to point A?</strong></p>
  
  <p>What I said above is correct?</p>