From 5bb81215923852e083d2fe6e278dbd0291c14072 Mon Sep 17 00:00:00 2001 From: Willem van den Ende Date: Mon, 28 Sep 2026 08:47:00 +0100 Subject: [PATCH] edit refactoring pattern --- .../zeroth-draft-of-refactoring-pattern.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ideas/split-loop-with-lambda/zeroth-draft-of-refactoring-pattern.md b/ideas/split-loop-with-lambda/zeroth-draft-of-refactoring-pattern.md index adb434d..a8dba2e 100644 --- a/ideas/split-loop-with-lambda/zeroth-draft-of-refactoring-pattern.md +++ b/ideas/split-loop-with-lambda/zeroth-draft-of-refactoring-pattern.md @@ -1,12 +1,10 @@ -# Authors: Willem van den Ende, Emily Bache +# Authors: Emily Bache, Willem van den Ende # Introduction -For a client, Emily and Willem have done several Split Loop refactorings. We want to be explicit in naming the patterns, and ensuring that the team have sufficient memory to complete these on their own. In the final session we did Split Loop, but the type of variable that we did the 'slide statement' refactoring with was a function instead of a value. And the 'split' part of the lop that got sliced up was an iteration that resulted in a list of function invocations (if memory serves me write). - -This is a zeroth draft. Our meta-goals are being more explicit in naming the refactorings and patterns we used to ourselves, so that the team can name the patterns, and reproduce the mechanics reliably on their own. +This is a zeroth draft. Our meta-goals are being more explicit in naming the refactorings and patterns we used to ourselves, and enable others to name the patterns, so they can reproduce the mechanics reliably on their own. Initial literature survey (see related patterns below) has not yet revealed an existing Refactoring Pattern description. In order to fit some or all of this refactoring in a learning hour, it is worth writing down what we mean, with examples (so, in case the resulting exercise does not fit in a learning hour, we have a blog post to refer to for more details and/or recapturing the mechanics).