Discover bauhaus design principles, include the articles, news, trends, analysis and practical advice about bauhaus design principles on alibabacloud.com
11 principles of object-oriented design
Single Duty principle (the Responsibility Principle , abbreviation SRP )
Open-Close principle (the Open-close Principle , abbreviated as OCP )
Liskov Replacement principle (the Liskov Substitution , hereinafter referred to as LSP )
Dependency Inversion principle (the Dependency inversion Principle , referred to as Dip )
Interface Isolation principle (the I
software development efficiency, improving software quality, saving development costs, and improving system maintainability.
The purpose of object-oriented design reuse is to enable maintainability reuse.
In the object-oriented design, maintainability reuse is based on the object-oriented design principles. Thes
In the previous article, we talked about the design patterns. Next, let's talk about some of the principles we often follow in object-oriented design. These principles are the result of numerous previous experiences. Only by following these principles can you involve excelle
guarantee for the code to conform to the open and closed principles. At the same time LSP embodies:
◇ Class Inheritance principle: If an object of an inheriting class might run wrong where the base class appears,
The subclass should not inherit from the base class, or it should redesign the relationship between them.
◇ Action Correctness Guarantee: From the other side, the extension of the class that accords with the LSP
should be strictly verified, even though it is not at the product level. Otherwise, it will affect the promotion and application of their chips. Even if there is a place where the peripheral circuit can be tapped, the usage of the CPU pin connection is absolutely trustworthy, of course, if there are multiple reference designs with Different Pin Connection Methods, we can read the CPU chip manual and error table carefully or contact the manufacturer for confirmation. In addition, before the
Google has come to the benefit of mankind! Today @ 10 Realities Why this translation is not a pity even if it is spent, because it not only provides a simple and inexpensive way to experience virtual reality, but also a "do-it-yourself" version of the document. For designers, the 7 principles of design are validated, VR hot also on these two years, do not learn on the outdated slightly!
Virtual reality, th
First, the importance of design in software developmentImportanceWhen we went to college, we always didn't understand why we had to talk about such a theoretical thing, it was just a feeling that it was useless, we wanted to learn something that we could see, and when you graduated you would find that basic knowledge was important, And this knowledge has a commonality is can be separated from the specific technology or problems exist, is a long-term g
This article introduces some of the principles in software design, which are learned after long-term experience. Every programmer should understand them. I believe it will be of great help to everyone in the process of software design.
Don't repeat yourself (dry)Dry is the simplest rule and the easiest to understand. But it may also be the most difficult to be a
Object-oriented design principles are the core of programming for Oops (object-oriented programming System, Object-oriented program design systems), but most Java programmers Chase Singleton, Decorator, Observer such a design pattern, rather than focusing on object-oriented analysis and
The object-oriented design principle is the core of OOPS (object-oriented programming system, Object-Oriented Programming System) programming. However, most Java programmers pursue design patterns such as Singleton, decorator, and observer, instead of focusing on Object-Oriented Analysis and Design. Even experienced Java programmers have never heard of OOPS and s
Article Description: have these mathematical theories to back up your web design.
The ancient principles of mathematics have existed for hundreds of years, but still can help us improve the design level, do you believe it? These mathematical principles can withstand the test of time, to give us guidance o
Object-oriented design principles are at the heart of oops programming, but most of the Java programmers I've seen are enthusiastic about design patterns like Singleton (singleton), Decorator (adorner), OBSERVER (Observer), Instead of focusing enough attention on learning object-oriented analysis and design. It is impo
The object-oriented design principle is the core of OOPS (object-oriented programming system) programming.Design patterns such as Singleton, decorator, and observer do not focus on Object-Oriented Analysis and Design. There are even experiencedJava programmers have never heard of OOPS and solid design principles. They
Seven principles: Open and close principle, Richter substitution principle, dependency reversal principle, synthesis/aggregation multiplexing principle, Dimitri rule, interface isolation principle, single duty principle.The open and closed principle is the cornerstone of object-oriented reusable. The other six principles are instruments and tools.Details of the rules (reproduced in this section)http://kb.cn
Object-oriented design principles are at the heart of oops programming, but most of the Java programmers I've seen are enthusiastic about design patterns like Singleton (singleton), Decorator (adorner), OBSERVER (Observer), Instead of focusing enough attention on learning object-oriented analysis and design. It is impo
Object-Oriented design principles:Is the core of programming for Oops (object-oriented programming System, Object-oriented program design systems), but most Java programmers chase design patterns like Singleton, Decorator, and Observer, Rather than focusing on object-oriented analysis and design. Even experienced Java
The following is a typical example of a large system.
Before discussing the design principles, we must first clarify the fact:
In a software project team, when discussing project design, everyone has their own design philosophy. These design concepts are generally re
Design principles applicable to all regions (1)
One design is suitable for one project but not necessarily for another project. It is unrealistic to grasp the various designs applicable to each project. Experience tells us that using rules can help our brain take control of more things. Similarly, with the help of design
Article structure:1. Preface2. Design Principles3. Design Mode3.1 create Mode3.2 structured Mode3.3 behavior mode
Preface
Design principles and patterns are designed to help us design reusable, scalable, and maintainable applications.
De
software was rewritten instead of reused. 4. Too high viscosity has two forms: the designed viscosity and the environment's viscosity. when changes are required, engineers usually find that there are more than one method to achieve the goal. However, some of these methods will retain the original design, while others will not (that is, these are hacks ). If a design compares engineer errors to a correct on
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.