From the course: Programming Foundations: Design Patterns
Unlock the full course today
Join today to access over 24,400 courses taught by industry experts.
Applying patterns
From the course: Programming Foundations: Design Patterns
Applying patterns
- After a long discussion of design patterns, it's easy to see design patterns can be powerful. And it's easy to see all kinds of ways you can use design patterns in your current and future designs. Developers love to create beautiful architectures that are ready to take on change from any direction. But is that how we should think about patterns? Don't think of patterns as a magic bullet. When you see the need for one, you'll sleep well knowing many developers have been there before and solved the problem using similar techniques. However, patterns aren't the solution to every problem. - So how do you know which patterns to use? If you've got a good knowledge of patterns, you may know of a pattern that is a good match. Otherwise, review patterns that look like they might solve the problem. Once you've found a pattern that appears to be a good match, make sure it has a set of consequences you can live with and study its…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.