Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Design Patterns

Design Patterns

Scheduled Pinned Locked Moved The Lounge
csharpjavacomdesignregex
23 Posts 11 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Chris Austin

    Quartz. wrote:

    Anybody feel patterns are the new hype ?

    You are about a decade behind. Patterns have been so abused in the last few years by people who have just read a patterns book and decided that every problem had to fit a pattern they read about the previous night.

    Quartz. wrote:

    After looking closely I was surprised how many of them i have already used in one way or the other.

    Thats the beauty of a patter eh :) They give us a nice way to talk to each other about these things without confusing one another.

    A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. - -Lazarus Long

    R Offline
    R Offline
    Ravi Bhavnani
    wrote on last edited by
    #9

    Chris Austin wrote:

    You are about a decade behind.

    More like two decades! :) Any old-timer OOPSLA members around? /ravi

    My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

    R 1 Reply Last reply
    0
    • R Raj Lal

      Chris Austin wrote:

      You are about a decade behind

      I do am trying to catch up ! what are the current hypes :) WPF, .NET 3.5, Silverlight 2.0, adaptive streaming, what ?

      Omit Needless Words - Strunk, William, Jr.


      Like tricks, Vista? Daily Tricks Vista Gadget, Trick of Mind

      C Offline
      C Offline
      Chris Austin
      wrote on last edited by
      #10

      Quartz. wrote:

      what are the current hypes WPF, .NET 3.5, Silverlight 2.0, adaptive streaming, what ?

      I don't know as my business doesn't use and wont be using any of these in the near future.

      A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. - -Lazarus Long

      1 Reply Last reply
      0
      • R Raj Lal

        Christian Graus wrote:

        There are TERRIBLE books

        infact I have one with me right now with an author, whome I confused for you. ...Programming Using .NET 2.0 Patterns X|

        Omit Needless Words - Strunk, William, Jr.


        Like tricks, Vista? Daily Tricks Vista Gadget, Trick of Mind

        C Offline
        C Offline
        Christian Graus
        wrote on last edited by
        #11

        I may have that book, does it talk about networking patterns and so on ? Ludicrious.

        Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

        R 1 Reply Last reply
        0
        • R Ravi Bhavnani

          Chris Austin wrote:

          You are about a decade behind.

          More like two decades! :) Any old-timer OOPSLA members around? /ravi

          My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

          R Offline
          R Offline
          Raj Lal
          wrote on last edited by
          #12

          I have been onto some project totally off the hook lately Say what are some good resource for design patterns for .NET?

          Omit Needless Words - Strunk, William, Jr.


          Like tricks, Vista? Daily Tricks Vista Gadget, Trick of Mind

          C R A 3 Replies Last reply
          0
          • J Jordan Marr

            Design Patterns in C# is a good book. My only complaint is that there are lots of errors, most of which are very sneaky, so you have to be paying attention. For example, I was just reading the chapter on the Composite pattern and one of the class names was typo'd as "MachineComponent" when it should have been "MachineComposite". I've found quite a few of those, and I'm considering looking up the errata website for the book and noting them all in the book. I really enjoy reading about patterns. They come in handy especially when writing extensible frameworks, custom controls, etc. Some are really common, like factory method. Others, It really makes me miss writing manufacturing applications, because that's where they really come in handy. Now that I'm writing mostly business web apps with ASP.NET, I find myself reaching for Martin Fowler's Patterns of Enterprise Application Architecture much more often than GoF. Jordan

            R Offline
            R Offline
            Raj Lal
            wrote on last edited by
            #13

            Jordan Marr wrote:

            Design Patterns in C#

            thanks for the suggestion, I will check that

            Omit Needless Words - Strunk, William, Jr.


            Like tricks, Vista? Daily Tricks Vista Gadget, Trick of Mind

            1 Reply Last reply
            0
            • R Raj Lal

              I have been onto some project totally off the hook lately Say what are some good resource for design patterns for .NET?

              Omit Needless Words - Strunk, William, Jr.


              Like tricks, Vista? Daily Tricks Vista Gadget, Trick of Mind

              C Offline
              C Offline
              Chris Austin
              wrote on last edited by
              #14

              Personally, all of the .net specific books I looked at sucked several years ago. I'd recommend just studying the concepts of patterns and books that attempt to be language neutral.

              A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. - -Lazarus Long

              1 Reply Last reply
              0
              • R Raj Lal

                I have been onto some project totally off the hook lately Say what are some good resource for design patterns for .NET?

                Omit Needless Words - Strunk, William, Jr.


                Like tricks, Vista? Daily Tricks Vista Gadget, Trick of Mind

                R Offline
                R Offline
                Ravi Bhavnani
                wrote on last edited by
                #15

                Sorry, I don't know of any book specific to .NET. Design patterns are language independent, although admittedly easier to implement in object oriented languages. I have a well thumbed copy of GOF on my bookshelf but rarely refer to it these days. Most of the patterns I use are second nature I guess... /ravi

                My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com

                1 Reply Last reply
                0
                • R Raj Lal

                  Lately I have seen all the microsoft .net community have become crazy about design patterns (Gang of Four). After looking closely I was surprised how many of them i have already used in one way or the other. Well ! The design pattern book by gamma et al is sleep inducing , I got the "Head First Design Pattern" which was meant for Java programmer but is AWESOME and applies equally to .net. Read the whole book in 2 days Was wondering any other good book out there with respect to .net ? Anybody feel patterns are the new hype ?

                  Omit Needless Words - Strunk, William, Jr.


                  Like tricks, Vista? Daily Tricks Vista Gadget, Trick of Mind

                  L Offline
                  L Offline
                  Leslie Sanford
                  wrote on last edited by
                  #16

                  Quartz. wrote:

                  Anybody feel patterns are the new hype ?

                  Design patterns are common approaches for implementing higher level abstractions in languages that do not provide direct support for them. For example, if a design patterns book were written with the C language as its primary target, you would find patterns in it called "Polymorphism" or "Inheritance," with descriptions of how to implement those features using C. When a language evolves to provide support for a design pattern, it ceases to be a pattern and becomes a feature through which you can more easily realize a design. I don't think much about the Observer design pattern when using C# because it gives me delegates and events. On the other hand, when I write in C++ and need a notification system, I find myself writing the needed infrastructure from scratch. The Observer design pattern informs me on how this can be done. You don't hear about Visitor much in languages that provide double dispatching. Design patterns are a stepping stone in the evolution towards programming languages that provide the means for realizing higher level abstractions. They're important because they show us what we need to make our lives easier.

                  P 1 Reply Last reply
                  0
                  • C Christian Graus

                    I may have that book, does it talk about networking patterns and so on ? Ludicrious.

                    Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

                    R Offline
                    R Offline
                    Raj Lal
                    wrote on last edited by
                    #17

                    Christian Graus wrote:

                    about networking patterns and so on

                    ya somethings like that totally clueless

                    Omit Needless Words - Strunk, William, Jr.


                    Like tricks, Vista? Daily Tricks Vista Gadget, Trick of Mind

                    1 Reply Last reply
                    0
                    • R Raj Lal

                      I have been onto some project totally off the hook lately Say what are some good resource for design patterns for .NET?

                      Omit Needless Words - Strunk, William, Jr.


                      Like tricks, Vista? Daily Tricks Vista Gadget, Trick of Mind

                      A Offline
                      A Offline
                      AugustoS
                      wrote on last edited by
                      #18

                      I suggest Design Patterns by Christopher G. Lasater. He rewrites Gang of Four's book in a digestible way. It has also C# examples and clear class diagrams. I have read also Head First on Design Patterns but I didn't like it, actually much more fluff than stuff.

                      R 2 Replies Last reply
                      0
                      • A AugustoS

                        I suggest Design Patterns by Christopher G. Lasater. He rewrites Gang of Four's book in a digestible way. It has also C# examples and clear class diagrams. I have read also Head First on Design Patterns but I didn't like it, actually much more fluff than stuff.

                        R Offline
                        R Offline
                        Raj Lal
                        wrote on last edited by
                        #19

                        thanks for your message, much appreciated

                        Omit Needless Words - Strunk, William, Jr.


                        Like tricks, Vista? Daily Tricks Vista Gadget, Trick of Mind

                        1 Reply Last reply
                        0
                        • A AugustoS

                          I suggest Design Patterns by Christopher G. Lasater. He rewrites Gang of Four's book in a digestible way. It has also C# examples and clear class diagrams. I have read also Head First on Design Patterns but I didn't like it, actually much more fluff than stuff.

                          R Offline
                          R Offline
                          Raj Lal
                          wrote on last edited by
                          #20

                          AugustoS wrote:

                          actually much more fluff than stuff

                          kind of hit the spot there

                          Omit Needless Words - Strunk, William, Jr.


                          Like tricks, Vista? Daily Tricks Vista Gadget, Trick of Mind

                          1 Reply Last reply
                          0
                          • L Leslie Sanford

                            Quartz. wrote:

                            Anybody feel patterns are the new hype ?

                            Design patterns are common approaches for implementing higher level abstractions in languages that do not provide direct support for them. For example, if a design patterns book were written with the C language as its primary target, you would find patterns in it called "Polymorphism" or "Inheritance," with descriptions of how to implement those features using C. When a language evolves to provide support for a design pattern, it ceases to be a pattern and becomes a feature through which you can more easily realize a design. I don't think much about the Observer design pattern when using C# because it gives me delegates and events. On the other hand, when I write in C++ and need a notification system, I find myself writing the needed infrastructure from scratch. The Observer design pattern informs me on how this can be done. You don't hear about Visitor much in languages that provide double dispatching. Design patterns are a stepping stone in the evolution towards programming languages that provide the means for realizing higher level abstractions. They're important because they show us what we need to make our lives easier.

                            P Offline
                            P Offline
                            pashitech
                            wrote on last edited by
                            #21

                            hi guyz, find the plenty of available patterns at www.dofactory.com thanks, Pashi

                            1 Reply Last reply
                            0
                            • R Raj Lal

                              Lately I have seen all the microsoft .net community have become crazy about design patterns (Gang of Four). After looking closely I was surprised how many of them i have already used in one way or the other. Well ! The design pattern book by gamma et al is sleep inducing , I got the "Head First Design Pattern" which was meant for Java programmer but is AWESOME and applies equally to .net. Read the whole book in 2 days Was wondering any other good book out there with respect to .net ? Anybody feel patterns are the new hype ?

                              Omit Needless Words - Strunk, William, Jr.


                              Like tricks, Vista? Daily Tricks Vista Gadget, Trick of Mind

                              D Offline
                              D Offline
                              Dy
                              wrote on last edited by
                              #22

                              Quartz. wrote:

                              The design pattern book by gamma et al is sleep inducing

                              That was my first reaction to the book too. But give it another go, once you get over the formal writing style, the content is actually pretty good, and by the time you've gone through a couple of the patterns, you start to get benefit from the writing style. Well, at least I did anyway. It helped me to abstract the concepts. Just my two cents...

                              Quartz. wrote:

                              I got the "Head First Design Pattern"

                              Cheers for the heads up - I'll stick that one on my ever growing "to read" list

                              - Dy

                              1 Reply Last reply
                              0
                              • R Raj Lal

                                Lately I have seen all the microsoft .net community have become crazy about design patterns (Gang of Four). After looking closely I was surprised how many of them i have already used in one way or the other. Well ! The design pattern book by gamma et al is sleep inducing , I got the "Head First Design Pattern" which was meant for Java programmer but is AWESOME and applies equally to .net. Read the whole book in 2 days Was wondering any other good book out there with respect to .net ? Anybody feel patterns are the new hype ?

                                Omit Needless Words - Strunk, William, Jr.


                                Like tricks, Vista? Daily Tricks Vista Gadget, Trick of Mind

                                R Offline
                                R Offline
                                Russell Jones
                                wrote on last edited by
                                #23

                                Patterns have been around for far longer than computers. Why reinvent the wheel when there is already a pattern available The expression keystone arch was used for years to describe a particular pattern for building a bridge. People will always need to be able to describe a commonly used aggregation of parts by a recognised word to get the job done, otherwise even simple tasks would take ages to perform. I think it just took a length of time before people realised what the commonly used patterns were in the CS field and then a bit longer for someone to write it down and even longer for it to become a widely accepted concept.

                                1 Reply Last reply
                                0
                                Reply
                                • Reply as topic
                                Log in to reply
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes


                                • Login

                                • Don't have an account? Register

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • World
                                • Users
                                • Groups