Ether Solutions

Junior Exercise 4 - Safe Refactor Planning

This page is generated from the published markdown artifact and keeps navigation inside the site where possible.

Search the site

Client-side search across published titles and page content. No server required.

Type two or more characters to search the published package.

Rating

Purpose

Practice using AI to compare refactor options while keeping behavioral preservation and verification in view.

Scenario

A team has duplicate validation logic in two places:

Known defect:

The team wants to reduce duplication but avoid breaking either path.

Task

Use AI to compare at least two refactor approaches:

Then decide:

Expected output

Good AI uses

Verification focus

Anti-patterns to watch

Debrief prompts