Introduction to Design Patterns
Explore the concept of design patterns and their role in solving common programming issues. Understand misconceptions about design patterns and see how they apply not only to Kotlin but across many domains. Learn the design process through real-life examples and develop a foundation for using design patterns effectively.
We'll cover the following...
Now that we are a bit more familiar with basic Kotlin syntax, we can move on to discussing what design patterns are all about.
What are design patterns?
There are different misconceptions surrounding design patterns. In general, these misconceptions include:
- Design patterns are just missing language features.
- Design patterns are not necessary in a dynamic language.
- Design patterns are only relevant to object-oriented languages.
- Design patterns are only used in enterprises.
Actually, design patterns are just a proven way to solve a common problem. As a concept, they are not limited to a specific programming language (Java), nor to a family of languages (the C family, for ...