What is SRP? The Single Responsibility Principle (SRP) is one of the SOLID principles in software design. It states that a component should have only one reason to change. In other words, a class, struct, or any components, should have a single purpose and should not be modified for multiple reasons. Consider the following Swift struct: struct … Continue reading SOLID : Single Responsibility Principle (SRP)
What I learned on 2020 as a Software Engineer
Photo by Ben White on UnsplashI start learn how to code around 5 years ago, and in the past 3 years, I have been focusing on focusing iOS Development a lot.In this 12 months, there are many things to learn that I hope I know it at the first place. Let me tell you all of … Continue reading What I learned on 2020 as a Software Engineer