Skip to content

Commit

Permalink
Add README.
Browse files Browse the repository at this point in the history
  • Loading branch information
christianhujer committed Aug 14, 2021
1 parent e68d115 commit 1466071
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,14 @@
# expensereport
The ExpenseReport legacy code refactoring example in various languages
# ExpenseReport
The ExpenseReport legacy code refactoring example in various languages.

This is an example of a piece of legacy code with lots of code smells.
The goal is to support the following new feature as best as you can:
* Add Lunch with an expense limit of 2000.

## Process
1. Read the code to understand what it does and how it works.
2. Read the code and check for design smells.
3. Analyze what you would have to change to implement the new requirement without refactoring the code.
4. Write a characterization test.
5. Refactor the code.
6. Test-drive the new feature.

0 comments on commit 1466071

Please sign in to comment.