Are Design Patterns a Worthwhile Investment in Software Development?

  • Thread starter Thread starter Tsunami
  • Start date Start date
  • Tags Tags
    Design Patterns
AI Thread Summary
The discussion centers on the relevance of design patterns in object-oriented programming (OOP). While some argue that design patterns, particularly those outlined in the "Gang of Four" book, are essential for understanding common OOP challenges and vocabulary, others question their practicality. A notable point raised is Peter Norvig's observation that many design patterns are simplified or rendered unnecessary by modern programming languages like Lisp or Dylan, which offer direct language support. Despite this, the consensus suggests that design patterns can help avoid reinventing the wheel by providing established solutions to recurring problems in software design. The conversation also touches on the historical context of programming languages and their evolution, highlighting the ongoing debate about the effectiveness of traditional design patterns in contemporary programming practices.
Tsunami
Messages
88
Reaction score
0
Hiya,


so, design patterns: worth taking a look into it, or a dead-end street?

I thought it sounded very interesting, but then I read this on Wikipedia:

Peter Norvig provides a similar argument - he demonstrates that 16 out of the 23 patterns in the Design Patterns book (which is primarily focused on C++) are simplified or eliminated (via direct language support) in Lisp or Dylan.[4]

Any thoughts from people with more expertise?
 
Technology news on Phys.org
If you're into OO, you should check it out. Design patterns address common situations that challenge OO principles. The standard book is by the "Gang of Four", called "Design Patterns". It has stuff that any OO designer should know, if for no other reason than vocabulary. It ain't going to end hunger, but it might keep you from reinventing the wheel.

CS people love to tell you how they used Lisp to solve all the world's problems thirty years ago, a hundred times better than you ever could, and they can prove it to boot. So how come the world has problems? And 30,000,001 unreadable emacs scripts?
 
“Pattern” as the name suggests, means series of events occurring in a definite order. The patterns can be found in Java and J2ee technologies also. Many a times, we find that there is a particular way of tackling a problem. This way is easy and has been used many times successfully by a number of people earlier also. This method becomes a pattern.
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...

Similar threads

Replies
1
Views
3K
Replies
6
Views
6K
Back
Top