Navigator:
The Navigator is the person who guides the Driver. You are not typing the code, but you’re thinking critically about what to do next and helping the Driver stay on track.
Your role is to think through the problem, look for errors, and provide feedback or suggestions on how to improve the code.
You need to help the Driver debug the code, make sure it’s logically correct, and ask questions to ensure understanding.
Key Responsibilities for the Navigator:
Think about the overall logic and look for mistakes in the code.
Provide guidance and suggest changes to improve the code.
Help debug any errors or unexpected behavior.
Encourage your partner by explaining what might need to be changed, without taking over the keyboard.