`

Laws, Principles

 
阅读更多

Acyclic Dependencies Principle (ADP).  无环依赖原则

 

Command-Query Separation (CQS).  命令-查询分离原则

 

Common Reuse Principle (CRP).  共同重用原则

 

Convention over Configuration(CoC).  惯例优于配置原则

 

Dependency Inversion Principle (DIP). 依赖倒置原则

 

Design by Contract (DbC).  契约式设计

 

Don’t Repeat Yourself (DRY).

 

Hollywood Principle. 好莱坞原则

 

High Cohesion & Low/Loose coupling &.  高内聚, 低耦合

 

Law of Demeter.  迪米特法则

 

LeBlanc’s law: Later equals never.   勒布朗法则:稍后等于永不。

 

Liskov substitution principle (LSP).   里氏代换原则

 

Interface Segregation Principle (ISP). 接口隔离原则

 

Open/Closed Principle (OCP).  开闭原则

 

Program to an interface, not an implementation.

 

Separation of Concerns (SoC).  关注点分离

 

Single Responsibility Principle (SRP) .  单一职责原则

 

Tell, Don’t Ask  命令,不要去询问原则

 

Ward’s principle: You know you are working on clean code when each routine turns out to be pretty much what you expected.

沃德原则:如果每个例程都让你感到深合己意,那就是整洁代码。

 

You Ain’t Gonna Need It (YAGNI).

 

 

 

分享到:
评论

相关推荐

    Autoruns-v9.1.3H

    If you acquired the software in the United States, Washington state law governs the interpretation of this agreement and applies to claims for breach of it, regardless of conflict of laws principles....

    c# sample15个例子

    If you acquired the software in the United States, Washington state law governs the interpretation of this agreement and applies to claims for breach of it, regardless of conflict of laws principles....

    Recover4all Professional

    恢复删除的文件 LICENSE AGREEMENT FOR RECOVER4ALL PROFESSIONAL SOFTWARE PROGRAM IMPORTANT NOTICE TO USER - PLEASE READ CAREFULLY Please read the following terms and conditions carefully because they ...

    polycom宝利通视频会议软件3.9 2018

    perceivable form in whole or in part, except and only to the extent that such activity is expressly permitted by a third party license or applicable laws (in any instance where the law permits any ...

    Microprocessor Design Principles and Practices With VHDL

    ### Microprocessor Design Principles and Practices with VHDL #### Chapter 1: Designing a Microprocessor **1.1 Overview of a Microprocessor** A microprocessor is a central processing unit (CPU) that...

    Albert-László Barabási的2018年新书《The Formula:the universal laws of success》

    Now, based on years of academic research, The Formula finally unveils the groundbreaking discoveries of their pioneering study, not only highlighting the scientific and mathematic principles that ...

    Particle Physics

    Conservation Laws and Invariance Principles....Pages 209-269 Strong Interactions....Pages 271-346 Electromagnetic Interactions....Pages 347-379 Weak Interactions....Pages 381-438 Electroweak ...

    NIST SP800-122.pdf

    which are the principles underlying most privacy laws and privacy best practices. PII should be protected from inappropriate access, use, and disclosure. This document provides practical, context-...

    No.Starch.Press.Foundations.of.Information.Security.1718500041.epub

    The principles behind modern cryptography, including symmetric and asymmetric algorithms, hashes, and certificates The laws and regulations that protect systems and data Anti-malware tools, firewalls,...

    中英句子翻译-定语从句的翻译.doc

    4. "Certain ideas, principles, and laws often form the foundation on which other ideas, principles and laws of a science are constructed." "on which"引导的定语从句修饰"foundation"。翻译时,应将"基础...

    Head.First.Physics part1

    Covers scientific notation, SI units, vectors, motion, momentum conservation, Newton's Laws, energy conservation, weight and mass, gravitation and orbits, circular motion and simple harmonic motion, ...

    Head.First.Physics.part4

    Covers scientific notation, SI units, vectors, motion, momentum conservation, Newton's Laws, energy conservation, weight and mass, gravitation and orbits, circular motion and simple harmonic motion, ...

    Head.First.Physics.part2

    Covers scientific notation, SI units, vectors, motion, momentum conservation, Newton's Laws, energy conservation, weight and mass, gravitation and orbits, circular motion and simple harmonic motion, ...

    Head.First.Physics.part3

    Covers scientific notation, SI units, vectors, motion, momentum conservation, Newton's Laws, energy conservation, weight and mass, gravitation and orbits, circular motion and simple harmonic motion, ...

    ACHI驱动程序

    Claims arising under this Agreement shall be governed by the laws of California, excluding its principles of conflict of laws and the United Nations Convention on Contracts for the Sale of Goods....

    hacker-laws-zh:​​开发人员有用的定律,理论,原则和模式。(开发人员会发现有用的法律,理论,原理和模式。)

    的中文翻译。 对开发人员有用的定律,理论,原则和模式。(开发人员会发现有用的法律,理论,原理和模式。) 为了方便阅读,维基百科增加了中文链接。英文链接表示项目尚未完成的主题。 喜欢点star ,关注点watch ,...

Global site tag (gtag.js) - Google Analytics