4/7/2024 0 Comments Biw design guidelines pdfI also recommend reading the Head First Design Patterns book.įor further reading there is a good series on OOP here on CodeProject. Opportunities for cost reduction can be overlooked without careful, systematic analysis. Dependency inversion principle - Depend on abstractions, not on concretions. design changes increase the efficiency of both the product and its manufacture, identifying new cost reductions becomes more difficult. Interface segregation principle - Make fine grained interfaces that are client specific.ĥ. Liskov substitution principle - Derived classes must be substitutable for their base classes.Ĥ. Open/closed principle - You should be able to extend a classes behavior, without modifying it.ģ. Single Responsibility Principal - A class should have one, and only one, reason to change.Ģ. In short SOLID stands for the following 5 principles:ġ. There is a basic primer on OOD and SOLID here. An acronym that covers several good OOD principles is SOLID. Once I read such principles I like to see a good concrete example to improve my understanding so most of the links below will have good examples. In order to properly apply OOD to code you really need to understand the theory behind good design principles. I thought it would be useful to add some more info for anyone else who may find this via Google, although it is rather late for the OP. I know this is an older question, but I ran into it as one of the top returns on Google while searching for Object Oriented Design (OOD) links for someone else.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |