Lesson 1: Old code, new helper · 7 min
Before you begin · The rounding rule nobody wrote down · Where AI helps
Learners sign in, so every finish and score is recorded. 4 fields to fill in with your details.
Minutes are an estimate.
Before you begin · The rounding rule nobody wrote down · Where AI helps
Ask in layers · Believe it or check it? · The unused procedure
Characterisation tests · Spot the missing test · Check
Plan the route · Each step · One big change
What to write down · The handover note · Do or don't?
Final assessment · Course complete
Taken from the course itself.
Where did the rounding rule live?
Answer: Only in the old code's behaviour. Nobody had written it down. Only running or reading the old code would have shown it.
Lesson 2: Understand before you change
What should you do with "this is unused"?
Answer: Search every caller and the scheduler, then ask the team. Check callers, jobs and logs, then ask the people who know the system.
Lesson 3: Pin down behaviour first
Why write the characterisation test before the rewrite?
Answer: It pins current behaviour so you can see what changed. The test shows exactly what moved when you change the code.
Lesson 4: Change it in small steps
Ibrahim's assistant says a stored procedure is unused.
Best response: Search every caller and the scheduler, check the logs and ask the team.
Weaker responses: Delete it because the assistant sounds confident; Leave it and never ask.
Comments from trainers
No comments yet. Tell other trainers how the course went.
Your comment
Comments are public. We remove spam and personal details.