Book Image

Design Patterns and SOLID Principles with Java [Video]

By : Róbert Kohányi
Book Image

Design Patterns and SOLID Principles with Java [Video]

By: Róbert Kohányi

Overview of this book

This course will guide you through the whys and hows of important design patterns using SOLID principles and, more importantly, will help you recognize opportunities to apply these; its focus is on real-world problems and down-to-earth explanations to get you started quickly. The goal of the course is not to have you breeze through every design pattern in existence in a few minutes with oversimplified examples. Instead, you will learn selected design patterns in an in-depth way. During the course, you'll also familiarize yourself with the major aspects of SOLID design and writing clean code, as these concepts and applying design patterns should go hand-in-hand. By the end of the course, you will be able to identify (and confidently apply) design patterns in your own applications and be empowered to make your design choices using complex examples. All the code and supporting files are on GitHub at: https://github.com/PacktPublishing/Design-Patterns-and-SOLID-Principles-with-Java
Table of Contents (6 chapters)
Chapter 2
Quick Prototyping with the Singleton Pattern
Content Locked
Section 4
Using Singletons the Right Way
Using Singletons is easy, but the consequences are complex, enterprise project can be dire. In this video, we'll focus on how to avoid misusing Singletons.