![]() Liskov substitution states that derived classes must be substitutable for their base class when using inheritance.Open-closed states that classes must be open for extension but closed for modification that means structuring your classes to create new behavior without modifying the original code.Single responsibility states that each module, class, or function is responsible for one thing and encapsulates only that part of the logic.First published in 2000, the principles described are still applicable today, and to C# scripting in Unity: Martin in the paper, Design Principles and Design Patterns. The SOLID principles were first introduced by Robert C. You can think of them as five basic rules to keep in mind while coding, to ensure that object-oriented designs remain flexible and maintainable. ![]() SOLID is a mnemonic acronym for five core fundamentals of software design.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |