O'Reilly logo

Java Design Patterns: A tour of 23 gang of four design patterns in Java by Vaskaran Sarcar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

APPENDIX A

image

FAQ

Which of these patterns is/are best?

There is no straightforward answer for this type of question. It depends on many factors (the situation, the demand, the constraints, etc.). But if you know all of these patterns, you will have the flexibility to decide. In real life, it is quite possible that we need to use a combination of these patterns to design a requirement.

Why should we use design patterns?

These are general reusable solutions for software design problems which we see repeatedly in real-world software development. They help us to avoid unnecessary and scattered implementations. Please refer to the section “Introduction” ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required