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. Other Discussions
  3. The Insider News
  4. Design patterns in the test of time

Design patterns in the test of time

Scheduled Pinned Locked Moved The Insider News
learningcomdesignquestion
5 Posts 5 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.
  • T Offline
    T Offline
    Terrence Dorsey
    wrote on last edited by
    #1

    Ayende @ Rahien[^]:

    I remember how important this book was to shaping how I thought about software. For the first time, I actually have the words discuss what I was doing, and proven pathways to success. Of course, we all know that… it didn’t end up being quite so good. In particular, it led to Cargo Cult Programming. From my perspective, it looks like a lot of people made the assumption that their application is good because it has design patterns, not because design patterns will result in simpler code.

    Do you think Design Patterns is still relevant today?

    R R N C 4 Replies Last reply
    0
    • T Terrence Dorsey

      Ayende @ Rahien[^]:

      I remember how important this book was to shaping how I thought about software. For the first time, I actually have the words discuss what I was doing, and proven pathways to success. Of course, we all know that… it didn’t end up being quite so good. In particular, it led to Cargo Cult Programming. From my perspective, it looks like a lot of people made the assumption that their application is good because it has design patterns, not because design patterns will result in simpler code.

      Do you think Design Patterns is still relevant today?

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

      Terrence Dorsey wrote:

      Do you think Design Patterns is still relevant today?

      Of course they are!  Design patterns make for more manageable and testable code primarily due to loose coupling.  Design patterns are baked into the JDK and .NET frameworks, so you're using them even if you didn't think you were. /ravi

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

      1 Reply Last reply
      0
      • T Terrence Dorsey

        Ayende @ Rahien[^]:

        I remember how important this book was to shaping how I thought about software. For the first time, I actually have the words discuss what I was doing, and proven pathways to success. Of course, we all know that… it didn’t end up being quite so good. In particular, it led to Cargo Cult Programming. From my perspective, it looks like a lot of people made the assumption that their application is good because it has design patterns, not because design patterns will result in simpler code.

        Do you think Design Patterns is still relevant today?

        R Offline
        R Offline
        R Giskard Reventlov
        wrote on last edited by
        #3

        Design Patterns have a place but slavish adherence to any pseudo standard is a bad thing. There are also evangelists who firmly believe that if you don't know every pattern and how to apply it then you can't be much of a programmer - you always meet these people at interview when you get the feeling that they know the patterns but not much else - programming by rote. I'd say it was the other way around: they are simply tools and you use them when and where appropriate. You may even have a different name for the same pattern - like spanner and wrench - it's still the same tool with the same outcome. So, yes, they have a place if they help you to shape better code but not as a cure-all.

        "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me

        1 Reply Last reply
        0
        • T Terrence Dorsey

          Ayende @ Rahien[^]:

          I remember how important this book was to shaping how I thought about software. For the first time, I actually have the words discuss what I was doing, and proven pathways to success. Of course, we all know that… it didn’t end up being quite so good. In particular, it led to Cargo Cult Programming. From my perspective, it looks like a lot of people made the assumption that their application is good because it has design patterns, not because design patterns will result in simpler code.

          Do you think Design Patterns is still relevant today?

          N Offline
          N Offline
          Nemanja Trifunovic
          wrote on last edited by
          #4

          Terrence Dorsey wrote:

          Do you think Design Patterns is still relevant today?

          The book? Kind of, if you don't take it too seriously. The introductory chapter is pretty insightful. As for the design patterns themselves, I think they did more harm than good to the industry, exactly because of this:

          Terrence Dorsey wrote:

          In particular, it led to Cargo Cult Programming. From my perspective, it looks like a lot of people made the assumption that their application is good because it has design patterns, not because design patterns will result in simpler code

          utf8-cpp

          1 Reply Last reply
          0
          • T Terrence Dorsey

            Ayende @ Rahien[^]:

            I remember how important this book was to shaping how I thought about software. For the first time, I actually have the words discuss what I was doing, and proven pathways to success. Of course, we all know that… it didn’t end up being quite so good. In particular, it led to Cargo Cult Programming. From my perspective, it looks like a lot of people made the assumption that their application is good because it has design patterns, not because design patterns will result in simpler code.

            Do you think Design Patterns is still relevant today?

            C Offline
            C Offline
            cseder
            wrote on last edited by
            #5

            I'm not sure if you mean the book or Design Patterns in general, so to answer both: The book has its share of goodness, and yes I think it is absolutely still relevant today, if not more, (now that was the short answer if you meant the book :-)) which leads me to the concept of Design Patterns in practice. I don't agree with the first reply to this question saying that you already use DP even if you don't know about it. Well, every framework out there is hopefully built with DP in mind, but you don't use that code directly, you design pieces of software from higher level bits, sure, but you still have to create your own OOP structures, and the basics of a modern application and here I believe that Design Patterns are equally important today, and probably will be for as long as there is Object Oriented Programming involved. How do you best create the application structure with interfaces, classes, inheritance, the works? This is what Design Patterns is all about! So, still important, for sure... ;) Certainty of death, small chance of success... What are we waiting for?

            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