Introduction to SOLID Principles
What is Solid?

In this course, we explore the SOLID principles one by one and look at how they work.

Learning Objectives

  • Understand what SOLID principles are

Intended Audience

  • Beginner Java developers
  • Anyone with a desire to learn about SOLID principles


  • Basic Java knowledge

Hello, dear friends. In this video, we will start to examine SOLID and design patterns. So, let's begin. The SOLID principles were first conceptualized by Robert C. Martin in his 2000 paper, Design Principles and Design Patterns. These concepts were later built upon by Michael Feathers, who introduced us to the SOLID acronym. And in the last 20 years, these principles have revolutionized the world of object oriented programming, changing the way that we write software. So, what is SOLID, and how does it help us write better code?

Simply put, Martin's and Feathers' design principles encourage us to create more maintainable, understandable, and flexible software. Consequently, as our applications grow in size, we can reduce their complexity and save ourselves a lot of headaches further down the road. Once written, code cannot stay the same forever. In fact, the reason why SOLID comes up is hidden in the sentence. For instance, three years ago, we completed a sizable project and delivered it to the client.

The customer requested that we add new features to the project three years later. Consequently, updating a project that was built on sound principles is simple and quick. So, we can say that the main purpose of SOLID principles is to allow developers to write code that can keep pace with these changes with minimum effort, rather than better code writing. So, what are these SOLID principles? S, Single Responsibility; O, Open/Closed; L, Liskov substitution; I, Interface Segregation; D, Dependency Inversion. While some of these words may sound daunting, they can be easily understood with some simple code examples. In the following sections, we will explain them one by one, and then in the next video, we will examine single responsibility. In the following sections, we will explain them one by one. In the next video, we will examine single responsibility. So, I'll see you there.


About the Author
Learning Paths

OAK Academy is made up of tech experts who have been in the sector for years and years and are deeply rooted in the tech world. They specialize in critical areas like cybersecurity, coding, IT, game development, app monetization, and mobile development.