├── .gitignore ├── DuplicationColoringBook.pptx ├── OnlineVersion ├── ColoringBook │ ├── Slide01.png │ ├── Slide02.png │ ├── Slide03.png │ ├── Slide04.png │ ├── Slide05.png │ ├── Slide06.png │ ├── Slide07.png │ ├── Slide08.png │ ├── Slide09.png │ └── Slide10.png └── Kata │ ├── Slide1.png │ ├── Slide2.png │ ├── Slide3.png │ ├── Slide4.png │ └── Slide5.png ├── README.md ├── Workshop_Printouts_Complete.pdf ├── Workshop_Printouts_Complete.pptx ├── history ├── Duplication_Kata_Printouts.pdf ├── Duplication_Kata_Printouts.pptx ├── Duplication_Printouts.pdf └── Duplication_Printouts.pptx └── images ├── Duplication Coloring Exercise.gif └── refactoring coloring book.jpg /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | ~* 3 | -------------------------------------------------------------------------------- /DuplicationColoringBook.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LearnWithLlew/DuplicationColoringBook/2887d7fef1d442c720daa6dc381532d08d7905ee/DuplicationColoringBook.pptx -------------------------------------------------------------------------------- /OnlineVersion/ColoringBook/Slide01.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LearnWithLlew/DuplicationColoringBook/2887d7fef1d442c720daa6dc381532d08d7905ee/OnlineVersion/ColoringBook/Slide01.png -------------------------------------------------------------------------------- /OnlineVersion/ColoringBook/Slide02.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LearnWithLlew/DuplicationColoringBook/2887d7fef1d442c720daa6dc381532d08d7905ee/OnlineVersion/ColoringBook/Slide02.png -------------------------------------------------------------------------------- /OnlineVersion/ColoringBook/Slide03.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LearnWithLlew/DuplicationColoringBook/2887d7fef1d442c720daa6dc381532d08d7905ee/OnlineVersion/ColoringBook/Slide03.png -------------------------------------------------------------------------------- /OnlineVersion/ColoringBook/Slide04.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LearnWithLlew/DuplicationColoringBook/2887d7fef1d442c720daa6dc381532d08d7905ee/OnlineVersion/ColoringBook/Slide04.png -------------------------------------------------------------------------------- /OnlineVersion/ColoringBook/Slide05.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LearnWithLlew/DuplicationColoringBook/2887d7fef1d442c720daa6dc381532d08d7905ee/OnlineVersion/ColoringBook/Slide05.png -------------------------------------------------------------------------------- /OnlineVersion/ColoringBook/Slide06.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LearnWithLlew/DuplicationColoringBook/2887d7fef1d442c720daa6dc381532d08d7905ee/OnlineVersion/ColoringBook/Slide06.png -------------------------------------------------------------------------------- /OnlineVersion/ColoringBook/Slide07.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LearnWithLlew/DuplicationColoringBook/2887d7fef1d442c720daa6dc381532d08d7905ee/OnlineVersion/ColoringBook/Slide07.png -------------------------------------------------------------------------------- /OnlineVersion/ColoringBook/Slide08.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LearnWithLlew/DuplicationColoringBook/2887d7fef1d442c720daa6dc381532d08d7905ee/OnlineVersion/ColoringBook/Slide08.png -------------------------------------------------------------------------------- /OnlineVersion/ColoringBook/Slide09.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LearnWithLlew/DuplicationColoringBook/2887d7fef1d442c720daa6dc381532d08d7905ee/OnlineVersion/ColoringBook/Slide09.png -------------------------------------------------------------------------------- /OnlineVersion/ColoringBook/Slide10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LearnWithLlew/DuplicationColoringBook/2887d7fef1d442c720daa6dc381532d08d7905ee/OnlineVersion/ColoringBook/Slide10.png -------------------------------------------------------------------------------- /OnlineVersion/Kata/Slide1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LearnWithLlew/DuplicationColoringBook/2887d7fef1d442c720daa6dc381532d08d7905ee/OnlineVersion/Kata/Slide1.png -------------------------------------------------------------------------------- /OnlineVersion/Kata/Slide2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LearnWithLlew/DuplicationColoringBook/2887d7fef1d442c720daa6dc381532d08d7905ee/OnlineVersion/Kata/Slide2.png -------------------------------------------------------------------------------- /OnlineVersion/Kata/Slide3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LearnWithLlew/DuplicationColoringBook/2887d7fef1d442c720daa6dc381532d08d7905ee/OnlineVersion/Kata/Slide3.png -------------------------------------------------------------------------------- /OnlineVersion/Kata/Slide4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LearnWithLlew/DuplicationColoringBook/2887d7fef1d442c720daa6dc381532d08d7905ee/OnlineVersion/Kata/Slide4.png -------------------------------------------------------------------------------- /OnlineVersion/Kata/Slide5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LearnWithLlew/DuplicationColoringBook/2887d7fef1d442c720daa6dc381532d08d7905ee/OnlineVersion/Kata/Slide5.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # DuplicationColoringBook 2 | Printout exercises to learn refactoring 3 | ## Code Exercises 4 | | Language | Status | 5 | | --- | --- | 6 | | [C#](https://github.com/LearnWithLlew/DuplicationKata.Net) | [![Build](https://github.com/LearnWithLlew/DuplicationKata.Net/actions/workflows/build.yml/badge.svg)](https://github.com/LearnWithLlew/DuplicationKata.Net/actions/workflows/build.yml) | 7 | | [Java](https://github.com/LearnWithLlew/DuplicationKata.java) | [![test](https://github.com/LearnWithLlew/DuplicationKata.java/actions/workflows/test.yml/badge.svg)](https://github.com/LearnWithLlew/DuplicationKata.java/actions/workflows/test.yml) | 8 | | [Javascript](https://github.com/LearnWithLlew/DuplicationKata.js) | [![Build](https://github.com/LearnWithLlew/DuplicationKata.js/actions/workflows/build.yml/badge.svg)](https://github.com/LearnWithLlew/DuplicationKata.js/actions/workflows/build.yml) | 9 | | [Php](https://github.com/LearnWithLlew/DuplicationKata.php) | [![build](https://github.com/LearnWithLlew/DuplicationKata.php/actions/workflows/test.yml/badge.svg)](https://github.com/LearnWithLlew/DuplicationKata.php/actions/workflows/test.yml)| 10 | | [Python](https://github.com/LearnWithLlew/DuplicationKata.Python) | [![Build](https://github.com/LearnWithLlew/DuplicationKata.Python/actions/workflows/build.yml/badge.svg)](https://github.com/LearnWithLlew/DuplicationKata.Python/actions/workflows/build.yml) | 11 | | [C++](https://github.com/LearnWithLlew/DuplicationKata.cpp.vs2017) | | 12 | ## Future Exercises 13 | [Videos](https://www.youtube.com/watch?v=zAqv7jyd6nw&list=PLb4ON7iRsxZPj-xXfFLPCkQknE9rIMK1q) 14 | 15 | 16 | ![Animation of the steps](https://github.com/LearnWithLlew/DuplicationColoringBook/blob/master/images/Duplication%20Coloring%20Exercise.gif?raw=true) 17 | 18 | Steps 19 | 1. Draw a box around the duplication 20 | Note: the box can not cross a programming block { }. it must include all of the block, or be inside it. 21 | 1. Fill in the white space 22 | 1. Fill in the differences 23 | 24 | ## Example 25 | ![example of completed ](https://github.com/LearnWithLlew/DuplicationColoringBook/blob/master/images/refactoring%20coloring%20book.jpg?raw=true) 26 | 27 | ## Pre-requirements 28 | 29 | Checkout the [sparrow decks on duplication](http://llewellynfalco.blogspot.fi/p/sparrow-decks.html) first 30 | 31 | ## Printouts 32 | 33 | [General Coloring Exercise](Duplication_Printouts.pdf) 34 | [Printed example For Code Kata](Duplication_Kata_Printouts.pdf) 35 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /Workshop_Printouts_Complete.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LearnWithLlew/DuplicationColoringBook/2887d7fef1d442c720daa6dc381532d08d7905ee/Workshop_Printouts_Complete.pdf -------------------------------------------------------------------------------- /Workshop_Printouts_Complete.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LearnWithLlew/DuplicationColoringBook/2887d7fef1d442c720daa6dc381532d08d7905ee/Workshop_Printouts_Complete.pptx -------------------------------------------------------------------------------- /history/Duplication_Kata_Printouts.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LearnWithLlew/DuplicationColoringBook/2887d7fef1d442c720daa6dc381532d08d7905ee/history/Duplication_Kata_Printouts.pdf -------------------------------------------------------------------------------- /history/Duplication_Kata_Printouts.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LearnWithLlew/DuplicationColoringBook/2887d7fef1d442c720daa6dc381532d08d7905ee/history/Duplication_Kata_Printouts.pptx -------------------------------------------------------------------------------- /history/Duplication_Printouts.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LearnWithLlew/DuplicationColoringBook/2887d7fef1d442c720daa6dc381532d08d7905ee/history/Duplication_Printouts.pdf -------------------------------------------------------------------------------- /history/Duplication_Printouts.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LearnWithLlew/DuplicationColoringBook/2887d7fef1d442c720daa6dc381532d08d7905ee/history/Duplication_Printouts.pptx -------------------------------------------------------------------------------- /images/Duplication Coloring Exercise.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LearnWithLlew/DuplicationColoringBook/2887d7fef1d442c720daa6dc381532d08d7905ee/images/Duplication Coloring Exercise.gif -------------------------------------------------------------------------------- /images/refactoring coloring book.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LearnWithLlew/DuplicationColoringBook/2887d7fef1d442c720daa6dc381532d08d7905ee/images/refactoring coloring book.jpg --------------------------------------------------------------------------------