MSMVPS.COM
The Ultimate Destination for Blogs by Current and Former Microsoft Most Valuable Professionals.

Browse Site by Tags

Showing related tags and posts accross the entire site.
  • Entity Framework Petition of Vote of Non Confidence

    I had intended to be happy simply being a signatory of ADO .NET Entity Framework Vote of No Confidence. But, there's people suggesting signatories of this petition are wackos or on the fringe. Do yourself a favour and read the petition . Read what we have issues with and how we think Entity Framework...
    Posted to Peter Ritchie's MVP Blog (Weblog) by PeterRitchie on 06-25-2008
    Filed under: C#, .NET Development, Software Development, Design/Coding Guidance, Microsoft
  • Fundamentals of OOD Part 3: Method Cohesion

    Single Responsibility Principle (SRP) helps us write more cohesive types and methods. Cohesion is the relatedness of the members of a type to each other and the relatedness parts of a method's code to other parts. Method cohesion Often times a method is not very cohesive, meaning the code that it...
    Posted to Peter Ritchie's MVP Blog (Weblog) by PeterRitchie on 06-10-2008
    Filed under: C#, Software Development, Design/Coding Guidance, DevCenterPost, OOD
  • Spaces or Tabs?

    In this day and age it seems silly to get into a discussion about whether your companies coding guidelines should have a section mandating either spaces or tabs for indents. Tabs are clearly more flexible, but I really don't think it matters at all; people can easily read code that contains spaces...
    Posted to Peter Ritchie's MVP Blog (Weblog) by PeterRitchie on 05-26-2008
    Filed under: C#, .NET Development, Design/Coding Guidance, Microsoft
  • Fundamentals of OOD, Part 2 - Encapsulation Scope

    Let's look at the ubiquitous Person concept. It might seem logical that an application that deals with people should have a Person interface for classes to implement. For example: public interface IPerson { String GivenName { get; set; } String SurName { get; set; } IAddress Address { get; set; ...
    Posted to Peter Ritchie's MVP Blog (Weblog) by PeterRitchie on 05-08-2008
    Filed under: C#, Software Development, Design/Coding Guidance, DevCenterPost
  • Fundamentals of Object-Oriented Design (OOD) Part 1

    With increased usage of patterns and situationally specific strategies, people sometimes lose sight of the concepts and principles behind these patterns and strategies and fail to follow them when they're not using patterns or strategies. I feel it's good to periodically review the fundamental...
    Posted to Peter Ritchie's MVP Blog (Weblog) by PeterRitchie on 05-01-2008
    Filed under: C#, Software Development, Design/Coding Guidance, DevCenterPost
  • Single-Entry, Single-Exit, Should It Still Be Applicable In Object-oriented Languages?

    Before the modern high-level languages Edsger Dijkstra came up with "Structured Programming". This programming methodology relied on the programmer to form and enforce most of the structure of the program--manually keeping sub-structures and logic separate from one another to promote maintainability...
    Posted to Peter Ritchie's MVP Blog (Weblog) by PeterRitchie on 03-07-2008
    Filed under: C#, .NET Development, Software Development, Design/Coding Guidance
  • A Time and Place for Code Comments

    I've dealt with more than one person who believes all code comments are bad. The first person I encountered who said that also asked me to explain why a particular algorithm was used instead of another because there were no comments explaining it. But, one of my primary principles is that you should...
    Posted to Peter Ritchie's MVP Blog (Weblog) by PeterRitchie on 02-05-2008
    Filed under: C#, Software Development, Design/Coding Guidance
  • New warning CS0809 in C# 3 (Visual Studio 2008)

    There were several breaking changes (fixes) in C# 3 from C# 2. One is the ability to attribute a member override with ObsoleteAttribute without also attributing it the virtual member in the base class. For example, the following will compile without error In C# 2 (Visual Studio 2005/.NET 2.0): using...
    Posted to Peter Ritchie's MVP Blog (Weblog) by PeterRitchie on 11-26-2007
    Filed under: C#, Design/Coding Guidance, Visual Studio 2008, C# 3.0, .NET 3.5, C# 3.0 Breaking Changes
  • Thread.Abort is a Sign of a Poorly Designed Program

    Continuing the theme of Thead.Sleep is a sign of a poorly designed program , I've been meaning to provide similar detail on Thread.Abort and not just allude to it in other posts like 'System.Threading.Thread.Suspend() is obsolete: 'Thread.Suspend has been deprecated... . Many of the concepts...
    Posted to Peter Ritchie's MVP Blog (Weblog) by PeterRitchie on 08-22-2007
    Filed under: C#, Software Development, .NET 2.0, Design/Coding Guidance
  • Exception Logging

    There is often a requirement for an application to log unhandled (and sometimes "handled") exceptions. This logging could occur to a log file, to the Event Log, a logging server, etc. There's great reasons to log exceptions but logging exceptions can be fraught with problems. I've have...
    Posted to Peter Ritchie's MVP Blog (Weblog) by PeterRitchie on 08-01-2007
    Filed under: C#, Software Development, Design/Coding Guidance
Page 1 of 2 (15 items) 1 2 Next >


Copyright © is the original authors. Blog site is an independent site not sponsored by Microsoft. The Yoda blog server and the Brianna SQL server would like to thank www.ownwebnow.com and www.exchangedefender.com. They wouldn't be here and broadcasting without the generosity of Vlad Mazek and his companies.

Powered by Community Server (Commercial Edition), by Telligent Systems