https://github.com/tomphp/untangled-conditionals-kata
Refactoring coding kata
https://github.com/tomphp/untangled-conditionals-kata
exercise kata refactoring
Last synced: 3 months ago
JSON representation
Refactoring coding kata
- Host: GitHub
- URL: https://github.com/tomphp/untangled-conditionals-kata
- Owner: tomphp
- License: other
- Created: 2020-03-18T22:26:11.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-11-11T12:19:18.000Z (over 3 years ago)
- Last Synced: 2023-03-25T13:00:23.257Z (about 3 years ago)
- Topics: exercise, kata, refactoring
- Language: C++
- Size: 241 KB
- Stars: 17
- Watchers: 2
- Forks: 35
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Untangled Conditionals Kata
[](https://travis-ci.org/tomphp/untangled-conditionals-kata)
This repository contains a simple coding kata.
Category: **refactoring** \
Skill Level: **beginner** \
Time: **~30 minutes**
This repository contains the starting code.
The logic is contained in a single method, `Pipeline.run()`.
This method contains a number of embedded `if` statements.
Your goal is to refactor the code to a more understandable and desirable state.
Remember, keep the tests passing while you refactor!
## Approach
Below you can find some resources demonstrating the approach that this kata was designed to teach.
However, I recommend you try the kata yourself first, and then review the resources.
* Blog Post: [Refactoring — Untangling Conditionals](https://cloudnative.ly/refactoring-untangling-conditionals-cc5693b8ec3c).
* Video: [](http://www.youtube.com/watch?v=NWgY-0Qu4S4)