© 2023 Hashnode
#solid-principles
The first time I heard about Solid it sounded really scary, however, I was able to adapt after a few studies and practical experimentation. S.O.L.I.D refers to five design principles for writing maint…
Engi-Proverbs is a series where I summarize some lessons and principles I've learned over my career by using a memorable and simple saying of wisdom. In the previous article of this series, I touched…
In this article, we will figure out what exactly SOLID principles are and, most importantly, we will check out a few Kotlin examples to get an even better understanding. SOLID is an acronym for five design principles in Object-Oriented soft…
The SOLID principles are a set of five principles, amongst others, guiding how software is designed to be less fragile, less rigid, more testable, maintainable, and readable. It influences how we writ…
SOLID principles are five design principles applicable to object-oriented design which makes code understandable, maintainable and extensible. Why do we need SOLID? Most of the real-world applications…
Introduction Robert C. Martin first established the five design concepts that make up SOLID in the early 2000s. These standards are regarded as the cornerstones for developing scalable and maintainabl…
Definition The client shouldn't be forced to depend on methods that it doesn't use. Or it can be stated more positively: clients should depend only on the smallest set of interface features: the fewes…
Four rules to ensure your unit tests are following the Single Responsibility Principle — the “S” in S.O.L.I.D. 1. Each Test Has a Single Call to The Production Code The first mistake we can make is to…
The SOLID principles are a set of guidelines for writing maintainable and scalable software. These principles were first introduced by Robert C. Martin in his book "Agile Software Development, Princip…
The Single Responsibility Principle (SRP) is an important concept in object-oriented programming that states that a module, class, or function should execute only one particular task in a program. The…