Include "minted" and make that 10!
XeLaTeX with minted is a very neat combination.
XeLaTeX allows you to use TTF fonts in your LaTeX document and minted allows you to syntax highlight code. For books/articles, especially by those in the software industry, it'll certainly come in handy!