// book.open()

Read A is for Array

Twenty-six letters, twenty-six programming ideas, explained with forts, cookies, and duck, duck, goose. Tap the pictures to see them come alive.

// a picture book about code

by Brandon J. Hansen

  1. A
  2. B
  3. C
  4. D
  5. E
  6. F
  7. G
  8. H
  9. I
  10. J
  11. K
  12. L
  13. M
  14. N
  15. O
  16. P
  17. Q
  18. R
  19. S
  20. T
  21. U
  22. V
  23. W
  24. X
  25. Y
  26. Z
Open the book

// use ← → keys or swipe to turn pages

Cover

Every letter

  1. A is for arrayA place to store your toy collection.
  2. B is for booleanEither on or off. Like a light or the TV.
  3. C is for constructorGet together a blanket and chairs. It’s fort time!
  4. D is for DeConstructorWhen playtime ends, clean up every toy before you go.
  5. E is for explodeHow many bumps are on an egg? Let’s find out!
  6. F is for functionTaking a picture is a function of your camera.
  7. G is for globalCookies: loved by children around the world.
  8. H is for heapClean clothes go here. Dirty clothes go there.
  9. I is for inheritanceYou got your momma’s eyes!
  10. J is for joinWe are all one family!
  11. K is for keyLike your fingerprint, everyone is unique.
  12. L is for loopDuck, duck, goose! Keep going until you get to goose!
  13. M is for mutablePlaydough can change shape and color.
  14. N is for namespaceA name helps people know who you are.
  15. O is for objectYour cat, your dog and all your toys are all objects.
  16. P is for persistenceLike writing a journal. It will be remembered forever.
  17. Q is for queryNeed to find a word? Use a dictionary to find it!
  18. R is for recursionTrees have seeds that make new trees.
  19. S is for singletonThere is only one you!
  20. T is for try/catchClimb that tree! Don’t worry, we have bandages to fix you!
  21. U is for undefinedJust like the boogey-man, it doesn’t exist.
  22. V is for variableIs it rainy? Sunny? The weather is a variable.
  23. W is for whileWhile there is food on your plate, you will sit there.
  24. X is for XPTry, try again. Keep building your fort until you get it right!
  25. Y is for YAMLMomma keeps her shopping list in YAML.
  26. Z is for Z-IndexIt’s a dog pile! The one on top is the biggest Z!

Back home