From 3719748cfe67d5a888bbeaa8caa809e6aef93a56 Mon Sep 17 00:00:00 2001 From: simonsan <14062932+simonsan@users.noreply.github.com> Date: Tue, 23 Apr 2024 13:34:08 +0200 Subject: [PATCH] style: dprint fmt --- src/additional_resources/design-principles.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/additional_resources/design-principles.md b/src/additional_resources/design-principles.md index 1b15669..c62e711 100644 --- a/src/additional_resources/design-principles.md +++ b/src/additional_resources/design-principles.md @@ -24,11 +24,10 @@ ## [CRP (Composite Reuse Principle) or Composition over inheritance](https://en.wikipedia.org/wiki/Composition_over_inheritance) -“a the principle that classes should favor polymorphic behavior -and code reuse by their composition (by containing instances of -other classes that implement the desired functionality) over inheritance -from a base or parent class” - Knoernschild, Kirk (2002). Java Design - -Objects, UML, and Process +“a the principle that classes should favor polymorphic behavior and code reuse +by their composition (by containing instances of other classes that implement +the desired functionality) over inheritance from a base or parent class” - +Knoernschild, Kirk (2002). Java Design - Objects, UML, and Process ## [DRY (Don’t Repeat Yourself)](https://en.wikipedia.org/wiki/Don%27t_repeat_yourself)