From the course: Software Architecture: Patterns for Developers (2020)
Why software architecture patterns?
From the course: Software Architecture: Patterns for Developers (2020)
Why software architecture patterns?
- [Instructor] Why do software architecture patterns exist at all? Can't we just write code and see how it evolves? Well, using known patterns has significant advantages. We can compare it to the blueprint of a house. You can build the house without it, and you might end up with something fairly okay. But if you build something bigger and more complex, you'll want a solid plan. This way, you can build something that will last longer. Using known patterns will make your code recognizable to other developers who join the project later on. This makes it easier for them to get up to speed, which is interesting for the entire organization. Senior developers need to spend less time coaching and the newcomers can become productive more easily. Often these patterns are also easier to maintain and extend. They're using the collective experience and wisdom of many developers that proceeded you. The patterns are featured in many pieces of literature and documentation. So if you have any questions about them, it's easy to find information. Knowing several software architecture patterns means you can apply them to your projects. It allows you to weigh the pros and cons of taking different approaches and it can help identify improvements you can make to the current architecture of your projects. All these points allow you to become a more productive member of the team and they make the team as a whole more productive. This does not mean that a specific pattern will be the only solution to your problem, nor does it guarantee that this pattern will help you. It's just that for similar problems, certain patterns have proven to be very helpful. So it will be a good starting point for you as well. If a chosen pattern proves to be a bad solution in your case, then you can take a different approach. But even with these possible dangers, software architecture patterns are worth it. They'll make your applications better and you as a developer as well.
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.