Geeks With Blogs


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

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

Tech·Ed Birds-of-a-Feather deadline near
Apparently, this Friday (April 6) is the last day to submit Birds-of-a-Feather (BOF) session topics for Tech·Ed 2007. Having attended several BOF sessions over the last few years, I decided to submit one of my own for this year. The topic I chose is titled "Code Styles and Standards - Best Practices?". The idea for this session is to talk about code standards and style guidelines, which can usually be a very volatile topic. I hope that by getting a group of relative strangers together we can talk ......

Posted On Wednesday, April 4, 2007 10:47 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

Birds-of-a-Feather session - "Code Style and Standards - Best Practices"
I just received notification from INETA that my Birds-of-a-Feather session, "Code Style and Standards - Best Practices" has been accepted for TechEd 2007. The session is currently scheduled for Tuesday, June 5 at 1:00 PM. I want to thank everyone that voted for my session, I greatly appreciate it and hope to see you there. Just to get everyone thinking a little bit about the topic, discussions about code style and standards usually end up in very heated debates and end up in a stale-mate at best ......

Posted On Wednesday, April 18, 2007 11:27 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

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

StyleCop 4.3 Released
A while ago I talked about a new tool from Microsoft called StyleCop. Since then, there was a lot of confusion surrounding the tool and it has undergone a lot of changes both internally and externally. Both Jason and Brian do an excellent job explaining the context behind some of the discussions and decisions leading up to these changes, but the biggest one is that the tool has been officially renamed as “StyleCop” to prevent any confusion with the built-in Visual Studio Code Analysis packages. I’m ......

Posted On Tuesday, August 19, 2008 10:25 AM

Copyright © Scott Dorman | Powered by: | Join free