title: Restify Middleware - correctly calling next middleware in stack
body: <p>I am using Restify with Nodejs and I have a question on the correct way of returning control to the next middleware in stack. I hope I am using the correct phrase when I say "next middleware in stack".  </p>
  
  <p>Basically, my code looks like this:</p>
  
  <pre><code>//server is the server created using Restify
  server.use(function (req, res, next) {
      //if some checks are a success
      return next();
  });
  </code></pre>
  
  <p>Now, what I wish to know is should the code be <code>return next();</code> or should it be just <code>next();</code> to pass control to the next in stack?  </p>
  
  <p>I checked and both work - that is both pieces of code will successfully pass control and return the data as expected - what I wish to know is if there is a difference between the two and if I need to use one over another.</p>