Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Refactoring Homework

Refactor the C# code from the Visual Studio solution Matrica.sln to improve its internal quality.

You might follow the following steps:

  1. Make some initial refactorings like:
    • Reformat the code.
    • Rename the ugly named variables.
  2. Make the code testable.
    • Think how to test console-based input / output.
  3. Write unit tests. Fix any bugs found in the mean time.
  4. Refactor the code following the guidelines from this chapter.
    • Do it step by step.
    • Run the unit tests after each major change.
You can’t perform that action at this time.