Welcome to EMC Consulting Blogs Sign in | Join | Help

Browse by Tags

All Tags » c# » code standards
  • Resharper and Source Analysis, not playing together

    I've had Microsoft Source Analysis (AKA StyleCop) installed for a couple of weeks. Yesterday I have very belatedly taken the plunge into Resharper.   I have gotten used to the style promoted by Source Analysis. I've gotten into the zone of feeling that warm fuzzy glow from code having no warnings. Howard van Rooijen calls ...
    Posted to Anthony Steele's Blog (Weblog) by Anthony.Steele on June 18, 2008
  • Duplicate Finder

    A while ago (June last year) I wrote a utility to detect runs of duplicate lines in files, which is useful for looking for repetitive code that should be refactored. Then I stopped work on it, since it was done.  The original blog post is here and the project is up on CodePlex here. This year I have revisited it with two new features which I ...
    Posted to Anthony Steele's Blog (Weblog) by Anthony.Steele on February 23, 2008
  • IDesign C# Coding standards

    De gustibus non est disputandum.-         A Latin proverb, roughly "don't argue about matters of taste"   As Scott Guthrie noted here:, Juval Lowry has published his C# code layout standards here: IDesign C# Coding standards This compliments the classic: ...
    Posted to Anthony Steele's Blog (Weblog) by Anthony.Steele on October 12, 2007
  • Don't Repeat Yourself, part 2

    I have written a small utility that I call DuplicateFinder, since it finds duplicate lines of code in files.  I spent a year in the late 1990s working in small company. We asked prospective hires to submit code samples, and I was one of the people looking at the code. There are problems with this method, in that it's too easy to ...
    Posted to Anthony Steele's Blog (Weblog) by Anthony.Steele on June 12, 2007
  • Don't repeat yourself

    Don't repeat yourself. I'll say it again – don't repeat yourself. When writing code, consolidate duplication. (But when explaining, say it several different ways). Code duplication hinders code readability and maintainence. On Friday I downloaded an interesting tool called Simian It is so named because it's a SIMIlarity ...
    Posted to Anthony Steele's Blog (Weblog) by Anthony.Steele on February 26, 2007
Powered by Community Server (Personal Edition), by Telligent Systems