title: What's the best practice for handling routes in expressJS
body: <p>I was used to write routes like this with ExpressJS:</p>
  
  <pre><code>var app = express();
  app.get('/something', function(req, res){});
  </code></pre>
  
  <p>But I have seen with the all new v4 of ExpressJS that we can now use express.router() like a middleware like this:</p>
  
  <pre><code>var app = express();
  var router = app.Router();
  app.use(router);
  
  router.get('/something', function(req, res){});
  </code></pre>
  
  <p>So my question is, what's the real difference between the two and what's the best practice ?</p>
  
  <p>Thank you in advance!</p>