StyleCop Code Analysis How-To is a nice read. At only 57 pages long, you can expect to work through the book in no time. I had the chance to check it out and I really enjoyed the read, not to mention learning a few things I didn’t know.
The book is aimed at .NET Developers that want to discover what StyleCop can do for them. Therefore it is written with .NET developers in mind.
The book is published by Packt which is also a bonus for me, because I really enjoy their style of formatting books they publish. As you can imagine, being only 57 pages in length, the price is also less than other titles in the Packt stable.
You can download sample chapters from the site and read reviews. For those that don’t know what StyleCop does, here is a quote from their CodePlex page.
“StyleCop analyzes C# source code to enforce a set of style and consistency rules. It can be run from inside of Visual Studio or integrated into an MSBuild project. StyleCop has also been integrated into many third-party development tools.”
With so many tools to do a variety of code optimization and to enforce consistency, I feel that StyleCop is definitely a great tool to use. This is especially true if you are working in teams. Every developer has ‘their own way’ of doing things. Unfortunately, this might not always be in line with your company’s code standards.
If you want to check out StyleCop, start with the StyleCop Code Analysis How-To book. It will definitely flatten any learning curve you might have.