Skip to main content

Blog entry by Eddie Li

  • Eddie Li
  • Monday, 14 September 2026, 4:25 AM

How to help kids start coding — English cover

Think the problem first — English carousel cover for this classroom case

Parents often ask which language to start with, what age is right, or how many classes a week. In our Markham classroom we flip that order: clear the problem first, then open the keyboard.

Why this matters

AI can type code. It cannot replace a kid who can name the goal, hold the right state, and check the edge cases.


A real classroom case: the backpack morning checklist

Last week a kid wanted a small tool — a backpack morning checklist. Before leaving home, check each item that should be in the bag, mark it done, and get a reminder if something is missing.

Goal

nothing missing before they walk out

State

list items · which are checked

Done

must-bring items all checked

Edges

gym shoes · umbrella · new item

Once those four answers were clear, the kid could break the tool into steps. The code was the fastest part. Our 2026-09-13 Xiaohongshu note used this exact classroom beat: clear thinking first, grammar second.


Why this still matters when AI can write code

Claims below are grounded in that teaching note — not an external product case with published accuracy metrics.

  1. AI does not remove the need to name the goal. “Remind me if something is missing” is a different job from “print a pretty list.” If a kid (or an AI prompt) muddles those, the code that comes back solves the wrong problem.
  2. The useful state is tiny on purpose. You only hold the checklist items and which ones are checked. That is abstraction: keep what the next step needs, drop the rest.
  3. The done rule and edge cases are the algorithm. The same four questions transfer to cafeteria call numbers, library borrow/return, or a game scoreboard. Contest-style questions inspired by CCC Junior, CCC, BCC, and school contests reuse those moves — kids who want to sit those register on their own; CodeSky is not an official contest program.
  4. Languages are tools on a path, not the answer. Early work often uses Python so logic lands fast; JavaScript when the same idea becomes something clickable on a page; C++ later when speed and efficiency matter. Tools change; the four questions do not.

So AI’s presence does not cancel a thinking-first start. It raises the value of kids who can decompose, hold the right state, and name the edge cases before they ask a model to type.


Three steps kids can name

We practice the same shape on the bench:

See — what belongs in the bag today

1 · See — what belongs in the bag today

Judge — apply the done rule and edge cases

2 · Judge — apply the done rule and edge cases

Mission — leave home only when must-bring items are checked

3 · Mission — leave home only when must-bring items are checked

see what belongs → judge with a done rule → finish the morning mission

Computational thinking kids can own — before AI types a line.

  • Decomposition — goal → state → done rule → special cases
  • Abstraction — keep only the items and check marks the next step needs
  • Algorithms — walk the list → mark done → remind if something is still missing
  • Pattern recognition — same four questions in cafeteria queues, library borrow/return, contest-style I/O

Try this at CodeSky Markham

Walk-in coding afterschool for ages 7–18. Think first, then build — that is what we practice on the bench.

9833 Markham Rd Unit 2, Markham, ON L6E 0E5
Email info@codesky.ca · Comment TRIAL on Instagram @codeskyca


Follow CodeSky

Instagram @codeskyca  ·  小红书 / RedNote  ·  WeChat 公众号: search codeskyca

Sources: CodeSky Xiaohongshu note pack 2026-09-13-怎么让孩子学编程 (classroom backpack morning checklist case; Python → JavaScript → C++ pathway; contest-style disclaimer).