Design and Build Great Web APIs: suggestion, GitHub

Hosting the sample code on GitHub seems like it would have several advantages:

  • adopt a popular, contemporary distribution channel
  • provide a convenient means to browse the code-- via a web browser-- rather than downloading a zip, unzipping, navigating to the code via file browser or terminal, then displaying the file in text viewer or text editor
  • allow for readers to submit pull requests for errata like typos, making updates of the sample code easier and community facilitated

Also, it would align w/ promoting, for beginners, usage of some of the fundamental, contemporary tools and techniques that are mentioned in the book and used in API development:

  • Git
  • GitHub
  • Pull requests