🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Refactoring with AI: all 10 questions

Quiz: Refactoring with AI · Question 9 of 10

Why do one small refactor per commit?

Why do one small refactor per commit?

  1. A.Git cannot store large commits
  2. B.It makes the code run faster
  3. C.AI tools only accept small files
  4. D.If the comparison fails, you know exactly which step broke it and can revert it easily
Answer & explanation

Correct answer: If the comparison fails, you know exactly which step broke it and can revert it easily

Small steps keep failures cheap to find and undo.

Can you get the rest right without peeking?

Take the timed Quiz: Refactoring with AI quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →