Don’t repeat yourself

Don’t repeat yourself
Stop hand nuvola.svg Dieser Artikel wurde zum Export in das Software-Wiki angemeldet. -- Däädaa 20:00, 18. Nov. 2011 (CET)
Fairytale Trash Question.svg Dieser Artikel wurde zur Löschung vorgeschlagen.

Falls du Autor des Artikels bist, lies dir bitte durch, was ein Löschantrag bedeutet, und entferne diesen Hinweis nicht.
Zur Löschdiskussion

Begründung: Vorlage:Löschantragstext/November Relevanz?


Don’t Repeat Yourself (DRY, deutsch etwa: Wiederhole dich nicht; auch bekannt als Once and Only Once, deutsch etwa: Einmal und nur einmal) ist ein Prinzip, das besagt, Redundanz zu vermeiden oder zumindest zu reduzieren. Ein Anwendungsgebiet für das DRY-Prinzip ist z. B. die Programmierung. [1] [2]

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.[3]

Während das DRY-Prinzip die Vermeidung von Redundanz zum Ziel hat, hat das SPOT-Prinzip den Umgang mit (gewollter) Redundanz zum Gegenstand.

Inhaltsverzeichnis

Softwaretechnik

DRY ist ein Grundprinzip in Andy Hunts und Dave Thomas Buch Der pragmatische Programmierer. Darin schlagen sie vor, DRY auch für Datenbank-Beschreibungen, Tests, Build-Skripte und sogar für die Dokumentation anzuwenden. [4]

Literatur

Siehe auch

Weblinks

Einzelnachweise

  1. Karl Eilebrecht,Gernot Starke: Patterns kompakt: Entwurfsmuster für effektive Software-Entwicklung, Springer-Verlag, S. 5 Online
  2. Hansruedi Tremp, Markus Ruggiero: Application Engineering, S. 140 Online
  3. Gernot Starke: Effektive Software-Architekturen: Ein praktischer Leitfaden, Hanser Verlag, S. 117 Online
  4. Neal Ford: Produktiv programmieren, O’Reilly Verlag, S. 6 Online

Wikimedia Foundation.

Игры ⚽ Нужно решить контрольную?

Schlagen Sie auch in anderen Wörterbüchern nach:

  • Don’t repeat yourself — (DRY, рус. Не повторяйся)  это принцип разработки программного обеспечения, нацеленный на снижение повторения информации различного рода, особенно в системах со множеством слоёв абстрагирования. Принцип DRY формулируется как: «Каждая часть… …   Википедия

  • Don't Repeat Yourself — Don’t Repeat Yourself (DRY, auch bekannt als Once and Only Once, dt. etwa: Wiederhole dich nicht) ist ein Prinzip, das besagt, Redundanz zu vermeiden oder zumindest zu reduzieren. Ein Anwendungsgebiet für das DRY Prinzip ist z. B. die… …   Deutsch Wikipedia

  • Don't repeat yourself — Don’t Repeat Yourself (DRY, auch bekannt als Once and Only Once, dt. etwa: Wiederhole dich nicht) ist ein Prinzip, das besagt, Redundanz zu vermeiden oder zumindest zu reduzieren. Ein Anwendungsgebiet für das DRY Prinzip ist z. B. die… …   Deutsch Wikipedia

  • Don't repeat yourself — In software engineering, Don t Repeat Yourself (DRY) or Duplication Is Evil[citation needed] (DIE) is a principle of software development aimed at reducing repetition of information of all kinds, especially useful in multi tier architectures. The …   Wikipedia

  • Don't Repeat Yourself — Ne vous répétez pas 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… …   Wikipédia en Français

  • Don't repeat yourself — Ne vous répétez pas 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… …   Wikipédia en Français

  • repeat — re|peat1 W2S2 [rıˈpi:t] v [T] ▬▬▬▬▬▬▬ 1¦(say again)¦ 2¦(do again)¦ 3¦(learn)¦ 4¦(tell)¦ 5¦(broadcast)¦ 6 something doesn t bear repeating Phrasal verbs  repeat on somebody ▬▬▬▬▬▬▬ [Date: 1300 1400; : Old F …   Dictionary of contemporary English

  • repeat — I UK [rɪˈpiːt] / US [rɪˈpɪt] verb [transitive] Word forms repeat : present tense I/you/we/they repeat he/she/it repeats present participle repeating past tense repeated past participle repeated *** 1) to say or write something again Can you… …   English dictionary

  • repeat — re|peat1 [ rı pit ] verb transitive *** 1. ) to say or write something again: Can you repeat what you just said, please? The first line is repeated throughout the poem. If you repeat those allegations, we will consult our lawyers. repeat that: He …   Usage of the words and phrases in modern English

  • repeat — 1 /rI pi:t/ verb 1 STATE AGAIN (T) to say or write something again: Can you repeat your question? | repeat that: Steven repeated patiently that he was busy. see say 1 2 DO AGAIN (T) to do something again: Repeat the treatment twice a day if… …   Longman dictionary of contemporary English

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”