Introduction to design patterns
Now that we have gained a better understanding of basic Kotlin syntax, we can explore what design patterns are all about.
What are design patterns?
There are several misconceptions surrounding design patterns. Some common misconceptions include:
- Design patterns are simply missing features in a programming language.
- Design patterns are not necessary written in dynamic languages such as JavaScript, Ruby, or Python.
- Design patterns are only relevant to object-oriented languages.
- Design patterns are only used in enterprise settings.
In reality, design patterns are proven solutions to common problems. They are not limited to a specific programming language, such as Java, and they are not exclusive to a particular group of languages, like the C family. Design patterns can be applied not only to software development but also to software architecture. For example, there are service-oriented architectural patterns...