In software engineering, Don't Repeat Yourself (DRY) is a principle of software development aimed at reducing repetition of information of all kinds, especially useful in multi-tier architectures. The DRY principle is stated as "Every piece of knowledge must have a single, unambiguous, authoritative representation within a system. " The principle has been formulated by Andy Hunt and Dave Thomas in their book The Pragmatic Programmer.
| Property | Value |
| dbpprop:abstract
|
- In software engineering, Don't Repeat Yourself (DRY) is a principle of software development aimed at reducing repetition of information of all kinds, especially useful in multi-tier architectures. The DRY principle is stated as "Every piece of knowledge must have a single, unambiguous, authoritative representation within a system. " The principle has been formulated by Andy Hunt and Dave Thomas in their book The Pragmatic Programmer. They apply it quite broadly to include "database schemas, test plans, the build system, even documentation. " When the DRY principle is applied successfully, a modification of any single element of a system does not change other logically-unrelated elements. Additionally, elements that are logically related all change predictably and uniformly, and are thus kept in sync. Besides using methods and subroutines in their code, Thomas and Hunt rely on code generators, automatic build systems, and scripting languages to observe the DRY principle across layers.
- Don’t-Repeat-Yourself ist ein Prinzip, das besagt, Redundanz zu vermeiden oder zumindest zu reduzieren. Ein Anwendungsgebiet für das DRY-Prinzip ist z. B. die Programmierung. Redundant vorhandene Informationen (z. B. Quellcode = Code-Duplizierung) sind schwierig zu pflegen, da die Konsistenz zwischen den einzelnen Duplikaten gewährleistet sein muss. Bei Systemen, die dem DRY-Prinzip treu bleiben, müssen hingegen Änderungen nur an einer Stelle vorgenommen werden. Während das DRY-Prinzip die Vermeidung von Redundanz zum Ziel hat, hat das SPOT-Prinzip den Umgang mit (gewollter) Redundanz zum Gegenstand.
- Ne vous répétez pas (Don't Repeat Yourself) est une philosophie en programmation informatique consistant à éviter la redondance de code au travers de l'ensemble d'une application afin de faciliter la maintenance, le test, le débuggage et les évolutions de cette dernière.
- Don't Repeat Yourself (DRY, anche conosciuto come "Single Point of Truth") è un principio secondo il quale l'informazione non debba essere ripetuta e ridondante e non si debba esprimere lo stesso concetto più di una volta, specie se in forma diversa. Di particolare importanza, nell'informatica, diventa un Design pattern della programmazione secondo il quale bisogna evitare il più possibile la duplicazione del codice, poiché questa complica la mantenibilità e la leggibilità del codice stesso. DRY è uno dei concetti fondamentali espressi nel libro The Pragmatic Programmer. Un codice DRY riduce al minimo le informazioni ridondati e le duplicazioni, risulta molto più pulito, mantenibili e leggibile e ricorre, dove possibile, all'utilizzo di funzioni per accorpare in un unico punto funzionalità usate più volte.
- Don't repeat yourself(DRY あるいは Single Point of Truth)は特にコンピューティングの領域において、重複を防ぐ考え方である。この哲学は、情報の重複は変更の困難さを増大し透明性を減少させ、不一致を生じる可能性につながるため、重複するべきでないことを強調する。 冗長化 や ミラーリングとの対照となる考え方である。 DRY は、Andy Hunt と Dave Thomas の著書 The Pragmatic Programmer において中心となる原則である。 彼らはこの原則を、データベーススキーマ、テスト計画、ビルドシステムや、ドキュメンテーションにいたるまで非常に幅広く適用している。 DRY 原則がうまく適用されたとき、システムに対するいかなる要素の変更も、論理的に関連のない他の要素の変更にはつながらない。さらに、論理的に関連した要素は予測できる形で統一的に変更され、したがってそれらの変更は同期が取れたものとなる。
- DRY (ang. Don't Repeat Yourself) – reguła stosowana w programowaniu, zalecająca by separować często powtarzający się kod źródłowy i jedynie odwoływać się do niego.
- 一次且仅一次(once and only once,简称OAOO,又名為Don't repeat yourself,简称DRY)是面向对象编程中的一条基本原则,又称“一个规则,实现一次”(one rule, one place)。指的是由(人编写而非机器生成的)代码和测试所构成的系统必须能够表达所应表达的内容,但是不能含有任何重复代码。 其起源已经不可考,一般认为是因为极限编程方法的创始者之一肯特·贝克总结和宣传而使其广为人知。
|
| dbpprop:date
|
- August 2009
- December 2008
|
| dbpprop:discuss
|
- Talk:Don't repeat yourself Merge proposal
|
| dbpprop:hasPhotoCollection
| |
| dbpprop:reference
| |
| dbpprop:wikiPageUsesTemplate
| |
| rdfs:comment
|
- In software engineering, Don't Repeat Yourself (DRY) is a principle of software development aimed at reducing repetition of information of all kinds, especially useful in multi-tier architectures. The DRY principle is stated as "Every piece of knowledge must have a single, unambiguous, authoritative representation within a system. " The principle has been formulated by Andy Hunt and Dave Thomas in their book The Pragmatic Programmer.
- Don’t-Repeat-Yourself ist ein Prinzip, das besagt, Redundanz zu vermeiden oder zumindest zu reduzieren. Ein Anwendungsgebiet für das DRY-Prinzip ist z. B. die Programmierung. Redundant vorhandene Informationen (z. B. Quellcode = Code-Duplizierung) sind schwierig zu pflegen, da die Konsistenz zwischen den einzelnen Duplikaten gewährleistet sein muss. Bei Systemen, die dem DRY-Prinzip treu bleiben, müssen hingegen Änderungen nur an einer Stelle vorgenommen werden.
- Ne vous répétez pas (Don't Repeat Yourself) est une philosophie en programmation informatique consistant à éviter la redondance de code au travers de l'ensemble d'une application afin de faciliter la maintenance, le test, le débuggage et les évolutions de cette dernière.
- Don't Repeat Yourself (DRY, anche conosciuto come "Single Point of Truth") è un principio secondo il quale l'informazione non debba essere ripetuta e ridondante e non si debba esprimere lo stesso concetto più di una volta, specie se in forma diversa.
- DRY (ang. Don't Repeat Yourself) – reguła stosowana w programowaniu, zalecająca by separować często powtarzający się kod źródłowy i jedynie odwoływać się do niego.
|
| rdfs:label
|
- Don't repeat yourself
- Don’t repeat yourself
- Ne vous répétez pas
- Don't Repeat Yourself
- Don't repeat yourself
- DRY
- 一次且仅一次
|
| owl:sameAs
| |
| skos:subject
| |
| foaf:page
| |
| is dbpprop:redirect
of | |