Trubble

Could someone point me in the direction of a good resource pertaining to designing your program.

Not neccesarily the coding syntax but how to section off parts of your program and what should be coded as a class that can be instantiated as opposed to a class with just static methods.

I am finding that I appear to be programming more procedurally than object oriented. I create a bunch of classes with static methods and then in the main part of my program I start at the first one and run down through them.

Any advice



Re: Visual C# General Good Resources on program design??


Re: Visual C# General Good Resources on program design??

TilakGopi

Hi,

I guess u should go for Design Patterns.

FYI:

It's an excerpt from a web page shows what are various C# design patterns and introduction before learning these things.

  • Design Pattern Universe & UML Diagram Overview - not design patterns
  • Design Pattern Categories
  • Application Frameworks
  • Factory Pattern
  • Abstract Factory Pattern
  • Singleton Pattern
  • Builder Pattern
  • Prototype Pattern
  • Adapter Pattern
  • Bridge Pattern
  • Composite Pattern
  • Decorator Pattern
  • Facade Pattern
  • Flyweight Pattern
  • Proxy Pattern
  • Chain of Responsibility Pattern
  • Command Pattern
  • Interpreter Pattern
  • Iterator Pattern
  • Mediator Pattern
  • Memento Pattern
  • Observer Pattern
  • State Pattern
  • Strategy Pattern
  • Template Pattern
  • Visitor Pattern
  • Design Patterns in .Net Libraries
  • Here are few more links may help u finding info about design patterns,

    http://msdn.microsoft.com/msdnmag/issues/01/07/patterns/

    http://codebetter.com/blogs/david.hayden/archive/category/1142.aspx

    http://www.oozinoz.com/dpcs.htm

    Thanx,

    Ch.T.Gopi Kumar.






    Re: Visual C# General Good Resources on program design??

    baldmountain

    Honestly Experience. It takes a long time to learn to design good programs.

    The get a feel for the "Gestalt" of programming:

    "Structure and Interpretation of Computer Programs" and "The Pragmatic Programmer"

    To make your programs a bit less horrible:

    "Refactoring: Improving the Design of Existing Code"

    To start thinking in objects a bit more try:

    "Design Patterns: Elements of Reusable Object-Oriented Software"
    "Analysis Patterns"






    Re: Visual C# General Good Resources on program design??

    Trubble

    Thanks baldmountain,

    And you are definitely right experience is the best teacher.

    As far as the refactoring, I am using the express ver. Is the Refactoring in VS2005 more robust





    Re: Visual C# General Good Resources on program design??

    Trubble

    Thanks TilaGopi,

    Very nice resources, they will definitely help me out.

    thanks for your help.