title: Laravel4 The benefit of IOC container
body: <p>I have trouble understanding the benefit of the IOC container in the scope of dependency injection.<br>
  Considering this basic example: </p>
  
  <pre><code>App::bind('Car', function()
  {
      return new Car;
  });
  
  Route::get('/', function()
  {
      dd(App::make('Car'));  //  resolve it
  }); 
  </code></pre>
  
  <p>I don't see the benefit of using IOC container over creating a new instance in the constructor.<br>
  Aside from testing benefits, I read that the reason is loose coupling.<br>
  However, as the 'car' binding just returns an instance of a new car, I don't see in which sense this example would be more loosely coupled.<br>
  For me, the two appear to be doing exactly the same thing. </p>