From 7d21f3df2d18cb74490e5e6e8a6656b9cf1a618a Mon Sep 17 00:00:00 2001 From: Olabanji121 <54448885+Olabanji121@users.noreply.github.com> Date: Tue, 10 Sep 2019 10:39:22 +0100 Subject: [PATCH 1/2] Added by Olabnji121 --- add-Olabanji121 | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 add-Olabanji121 diff --git a/add-Olabanji121 b/add-Olabanji121 new file mode 100644 index 00000000..7c5e8ec1 --- /dev/null +++ b/add-Olabanji121 @@ -0,0 +1,6 @@ +Refactoring Steps + +1. Name variables and functions well. +2. Remove magic numbers. +3. Extract each step of logic into a function. +4. Remove duplicate code. From 3cc6f09a12f49e51f6c750c9f5eb13a00742c2e3 Mon Sep 17 00:00:00 2001 From: Olabanji121 <54448885+Olabanji121@users.noreply.github.com> Date: Wed, 11 Sep 2019 08:58:14 +0100 Subject: [PATCH 2/2] Update add-Olabanji121 --- add-Olabanji121 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/add-Olabanji121 b/add-Olabanji121 index 7c5e8ec1..913496b2 100644 --- a/add-Olabanji121 +++ b/add-Olabanji121 @@ -1,4 +1,4 @@ -Refactoring Steps +**Refactoring Steps** 1. Name variables and functions well. 2. Remove magic numbers.