Exploring Design Patterns: Is It Worth the Effort?

In summary, the conversation discusses the relevance and usefulness of design patterns in the field of object-oriented programming. The main points raised include the argument that many design patterns can be simplified or eliminated through direct language support, the recommendation to read the book "Design Patterns" by the "Gang of Four" for a better understanding of design patterns, and the observation that some computer science experts tend to overstate the effectiveness of using Lisp in solving problems. The conversation also touches on the definition of a pattern and its relevance in Java and J2EE technologies.
  • #1
Tsunami
91
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
  • #2
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?
 
  • #3
“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.
 

Related to Exploring Design Patterns: Is It Worth the Effort?

1. What are design patterns?

Design patterns are reusable solutions to common software design problems. They provide a structured approach to solving problems and can help improve the overall quality, maintainability, and scalability of software.

2. Why is it important to explore design patterns?

Exploring design patterns allows you to better understand common software design problems and their solutions. This can help you become a more efficient and effective developer by providing you with a set of proven solutions to common problems.

3. How do design patterns benefit software development?

Design patterns can benefit software development in several ways. They can help in reducing development time and costs, improving code quality and maintainability, and promoting a more consistent and scalable approach to problem-solving.

4. Are design patterns worth the effort?

While learning and implementing design patterns may require some effort, the benefits they provide in the long run can make it worth it. They can help improve the overall quality of software and make it easier to maintain and scale in the future.

5. How can I start exploring design patterns?

There are various resources available to help you start exploring design patterns, such as books, online tutorials, and courses. It's also helpful to practice implementing them in your own projects to gain a better understanding of their uses and benefits.

Similar threads

Replies
2
Views
928
  • Aerospace Engineering
Replies
2
Views
7K
  • Biology and Medical
Replies
10
Views
4K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
2K
  • STEM Career Guidance
3
Replies
80
Views
64K
  • Biology and Medical
Replies
6
Views
5K
  • General Discussion
2
Replies
65
Views
8K
Back
Top