본문 바로가기

Lesson 43: Think in squares

English

Keep what matters

  • A delivery robot does not need to think in millimetres. It needs to know which square to go to.
  • Abstraction means keeping only the details that matter and leaving out the rest.
  • Here the floor becomes a grid of squares. go_to(col, row) hides the millimetres and the angles.

Words for this lesson

Word Meaning
abstraction keeping only the important details
grid rows and columns of squares
global variable a variable that every function can use

로그인 또는 계정 만들기

IGCSE, A-Level & AP