Difference between OOP basics vs SOLID?
I know of OOP (Object oriented programming) and SOLID.
and
However, I'm not sure what the exact differences are, and if SOLID is a subset of OOP. Can anyone help explain the differences?
the answer is simple:
PS: I don't understand the downvotes to your question, since it's legitimate, can be answered clearly and is confusing to many OO newcomers. Upvote from me.
Object-oriented programming is a programming form which is based on the idea of "objects". Rounded up pieces of code that describe properties (width, time, position...) and behavior (change width, display time, calculate position...) of required entities that work together to solve a specific problem. SOLID is a set of principles that help you design a solution for a specific problem in the object-oriented domain. Think of it as a set of rules that will help you visualize the most correct way to reach a solution for a problem.
链接地址: http://www.djcxy.com/p/82244.html上一篇: 用非静态类包装静态类
下一篇: OOP基础与SOLID之间的区别?