Skip to the page

Running a machine-coding round · core

Talk while you code, and test as you go

Narrate your decisions in short sentences: what you are building, why this state, which edge case you are handling. Check each step as soon as it exists, ask narrow questions when you are stuck, and treat hints and changed requirements as a normal part of the round.

The notes

What you must know

  • Narrate decisions, not keystrokes: 'I'll keep only items and query in state; the filtered list is derived.' Silent coding scores lower even when the code is right.
  • Useful phrases: 'First I'll get the happy path working, then handle errors.' 'I'm choosing X because… the trade-off is…' 'Let me test the empty case.'
  • Test as you go: click through after each feature; log reducer outputs; try the nasty inputs (empty, very long text, double click, fast typing); in vanilla rounds write tiny assert helpers.
  • Stuck for more than two minutes: say what you tried and ask one narrow question ('Is it OK if I store expanded folders as a Set of ids?').
  • Changed requirements mid-round (also used to detect hidden AI help): restate, say what it affects, then adapt the structure, not just patch.
  • 'Explain this line' probes: never type code you can't explain.
  • AI-allowed rounds (Canva since 2025, some 2026 loops): you plan and decide, the AI writes boilerplate, you read every diff and own the result; rounds that ban AI may check by screen share.
  • Code-review and debugging variants: read first, reproduce, explain the root cause, then fix.

The red pen

Common traps: mistake → fix

  • Mistake: Silent until done

    Fix: the interviewer can't give credit for reasoning or help early.

  • Mistake: Narrate every character

    Fix: noise; speak at decisions and checks.

  • Mistake: Ignore a hint

    Fix: hints usually point at the bug or a rubric item.

Easy to hard

Questions interviewers ask, easy to hard

  1. Tell me what you are doing right now.
  2. Why did you put this state here?
  3. Now add undo. What changes?
  4. Explain this line.

Practise

Practise with these questions

Explain it out loud

Explain it out loud to an AI interviewer that follows up, and see where your answer is thin.

Practise by voice

Your first interview is free

Sign up and start with a 15-minute interview with the full report, and an English conversation. No card needed.

Start your free interview