Sorry, this video is for subscribers only.

Click here to subscribe!

Polishing Up the Server

We take care of the edge cases for our server. We make sure it runs a callback after stopping, errors when stop() is called twice in a row, and warns us when we forget to provide the server port number. We wrap up with a brief discussion of the value of writing code to fail fast.

comments powered by Disqus