When you write a function, like (foo x), students don’t realize you can put a variable with a name OTHER than x in there, or an actual number.

  • It’s important to show students examples of functions containing other variables names and numbers in place of x.
  • Extra info from CS Teaching Tips Team: This is a great opportunity to introduce variables names that adhere to good style qualities, such as being descriptive and using consistent cases.

More about this tip

External Source

Interview with Bob Luciano