Assignments > Refactoring Exercise

Assignments > HW3: Refactoring Exercise

Due Thu, 02/12 at 11:59pm

1. Coding & Analysis Task

For Homework 3, please complete the refactoring exercise you started in class with your partner. There should be at least 2 refactors per team.

2. Individual Reflection

Each student must complete an individual reflection in their shared Google document (LastName_FirstName_373).

Under today’s date, respond (200–350 words total):

  1. What did you refactor?
  2. Why did you choose that refactor?
  3. What risks or tradeoffs did you consider, and how did existing tests help you refactor safely?

Paste your reflection into the Weekly Reflection Form as usual.

3. Submission Checklist

Team Requirements

At least 2 refactors completed via pair programming (one per pair)
PR created for each refactor with clear description of problem and solution
All tests pass before and after refactoring
PR reviewed by partner (the person who didn't type)

Individual Submission

Individual reflection completed and submitted to the Weekly Reflection Form (200–350 words, see section 2)

UNC Asheville Department of Computer Science