This is a collection of exercises meant to help participants to the Mozaic Works Clean Code Learning Program to learn the various guidelines.
The exercises are collected from various sources, sometimes slightly modified, sometimes translated to C# and C++. The translations and relevant modifications were contributed back through pull requests to the original repositories. Finally, we've selected only the C++ and C# versions.
A full list of initial sources follows.
Comments:
- UmbracoCMS for the C# files
- Inkscape for the C++ files
- EventBus for the Java files
Naming:
- An uglified version (all names renamed to be meaningless) of the Tennis Refactoring kata, with the C++ version adapted to use doctest for simplicity
- FinderRefactoring Kata. Contributed back the C++ translation.
Functions:
- An uglified version of the Yatzy Refactoring Kata - everything moved into one large function and the code mixed up a bit
- Refactor Conditionals, with the C++ version adapted to use doctest
Classes:
- The Parrot Refactoring Kata by Emily Bache
- The elections kata by the Grenoble Software Craft community. Contributed back the C# and C++ versions.