Geeks With Blogs

News



Microsoft Store

Support This Site


AddThis Social Bookmark Button

Locations of visitors to this page

Subscribers to this feed

TwitterCounter for @sdorman

Creative Commons License


Scott Dorman Microsoft MVP, Software Architect, Developer, Author Code Styles & Standards Topics related to code styles and standards.

Microsoft StyleCop is now Open Source
I have previously talked about Microsoft StyleCop. For those that might not know about it, StyleCop is a source analysis tool (different from the static analysis that FxCop performs) that analyzes the source code directly. As a result, it focuses on more design (or style) issues such as layout, readability and documentation. In an interesting move (and one that I am happy to see), Microsoft has decided to make StyleCop an open source project (under the MS-PL license) available on CodePlex. (The project ......

Posted On Saturday, April 24, 2010 1:19 PM

StyleCop – Some Constructive Criticism
It’s been a while since I last talked about StyleCop. I’ve been using it a lot recently on an internal project of mine and have come to really like the idea behind the tool. After using it extensively over the last few days, however, I think there are a few glaring omissions and features that need to be implemented before this tool can become truly useful. The first issue that I ran in to was the sheer volume of violations reported. In an effort to try and trim down the violations to a workable number, ......

Posted On Wednesday, December 31, 2008 7:29 PM

Only Chalk Talk at Tampa Code Camp
As I was building the Internet Calendar for Tampa Code Camp, I realized that I have the dubious distinction of being the only Chalk Talk session. I am a little bit surprised since this format (which is very similar to the Birds of a Feather session format from Tech·Ed) provides a good round-table interactive discussion on the topic. If you are going to Tampa Code Camp, be sure to check out my session on Code Style and Standards. The session is scheduled at 10:50 AM in Room 451. As a teaser to get ......

Posted On Tuesday, July 10, 2007 8:52 PM

Framework Design Guidelines, 2nd Edition
Those of you who know me know that I am a big proponent of code style and standards. One of the best resources I have found for documenting a clear and thorough set of code standards is the Framework Design Guidelines book by Brad and Krzysztof. The book was recently updated for the new language features in the .NET Framework 3.0 and 3.5 releases. Some of the existing guidelines have been expanded with new annotations and more detail, and new guidance covering such features as extension methods and ......

Posted On Saturday, November 15, 2008 10:41 PM

StyleCop 4.3 SDK
Not too long ago I mentioned that StyleCop 4.3 had been released and that the SDK documentation would be out shortly. The wait is over and the SDK documentation is now available. The documentation covers the following sections: Writing Custom Rules for StyleCop Integrating StyleCop into Build Environments StyleCop API Reference I’m looking forward to finding some time to sit down with the SDK and see what kind of custom rules I can write. Technorati Tags: StyleCop ......

Posted On Saturday, August 30, 2008 12:01 PM

BOF11 - Thanks for attending!
I want to thank everyone who attended my Birds of a Feather session at Tech·Ed 2007. There were about 100 people that showed up and I think we had a good discussion on what code style and standards mean and why they are important. What surprised me the most about the session was the amount of interest. As a result, I will be posting regular blog entries on this topic under the "Code Styles & Standards" category in my blog. I will also be reviewing the past code standards documents I have written ......

Posted On Tuesday, June 5, 2007 11:40 PM

Code Style and Standards: Best Practices?
For those of you who are attending Tech·Ed 2007, be sure to check out my Birds of a Feather session (BOF11) on Code Style and Standards. The session is scheduled for Tuesday, June 5, 2007 at 1:00 PM in Room S331 A. As a teaser to get you to attend, we are going to discuss what code style and standards actually mean and why they are important to you as a developer but also to your company. Yes, we will cover some of the "holy wars" regarding "curly brace placement" and "tab size", but also things ......

Posted On Thursday, May 24, 2007 12:35 PM

FxCop 1.36 RTM
I have always been a huge fan of FxCop, especially FxCop 1.36 even though it was a beta release for a long time. I’m happy to say (a bit late) that FxCop 1.36 has finally been released. Some of the improvements are: 200+ bug fixes that reduce noise, missing analysis and rule crashes Support for analyzing anonymous methods and lambda expressions New option for skipping analysis over tool generated code Spell checker libraries now ship in the box Changes in the way references are resolved and located ......

Posted On Saturday, August 30, 2008 11:46 AM

Check In Early, Check In Often
Jeff Atwood talks about what he considers the “Golden Rule” of source control: Check in early, check in often. For Jeff, it seems, going more than 1 day without checking in code is too long and will cause integration headaches down the road. I completely agree with this sentiment, and the idea of not going dark, up to a point. Where Jeff's arguments start to fail is long-running development tasks that have large (or fundamental) impact on an existing code-base, particularly one that is heavily used. ......

Posted On Saturday, August 30, 2008 11:32 AM

Visual Studio and Code Analysis
Even with the newest releases of StyleCop, FxCop, and Visual Studio 2008, there is still a lot of room for improvement in the suite of technologies and products that make up what should probably be termed “Microsoft Source Analysis”. I know that calling StyleCop that name caused a lot of confusion since it was being compared to the built-in source analysis features of Visual Studio (at least the Team Edition SKUs of Visual Studio). I think the real heart of the problem is that Visual Studio comes ......

Posted On Tuesday, August 19, 2008 1:04 PM

Copyright © Scott Dorman | Powered by: GeeksWithBlogs.net | Join free