Liskov's Substitution Principle in C++ | SOLID as a Rock

So you know how to code in general, understand the object-oriented programming, learned C++, and completed at least one Software Development Course (if you’re not there yet, these articles aren’t for you). You can write software easily if you know at least one programming language, but is your code any good? Could it be done any better? Is it clean (and what on earth does that mean)? Is your architecture any good?...

April 7, 2020 · 7 min · 1387 words · Vishal Chovatiya

Dependency Inversion Principle in C++ | SOLID as a Rock

Dependency Inversion Principle in C++ is the fifth & last design principle of a series SOLID as a Rock design principles. The SOLID design principles focus on developing software that is easy to maintainable, reusable & extendable. In this article, we will see an example code with the flaw & correct it with help of DIP. We will also see guideline & benefits of DIP in closure of the article....

April 6, 2020 · 6 min · 1203 words · Vishal Chovatiya

Interface Segregation Principle in C++ | SOLID as a Rock

Interface Segregation Principle in C++ is the fourth & by far the simplest design principle of a series SOLID as a Rock design principles. The SOLID design principles focus on developing software that is easy to maintainable, reusable & extendable. In this article, we will see a code violating ISP, a solution to the same code, guideline & benefits of ISP. By the way, If you haven’t gone through my previous articles on design principles, then below is the quick links:...

April 6, 2020 · 5 min · 1014 words · Vishal Chovatiya