in this week, we had to refactor an example project to practice avoiding code smells and overall programming.
In this special case every single of our project members had to do the task on his own. This ensures that even some of the lesser experienced team members get some practice and better code quality.
In the following everyone had to use a separate repository and commit every change with the appropriate code smell. In addition to that, unit tests had to be written to insure proper functionality after refactoring.
Here are the repositories:
We all used IntelliJ for our refactoring, which has a lot of useful functions to refactor your code. For example you can “rearrange code”, “optimize imports”, “cleanup” and “reformat code” automatically on every commit.
Thank you guys and see you in the next.