Create a list of the vocabulary terms that come up in error messages for the specific programming language you’re teaching so that students are prepared to understand and interpret the error messages they come across.

  • Students often find compiler messages overwhelming and unhelpful.
    • If we provide students with the vocabulary they need to understand these error messages, we can help students learn to use compiler messages to debug their code.
  • Here is a list of common error message vocab (made with C++ in mind) to help you get started:
    • operand
    • declaration
    • identifier
    • binary expression
    • specific types (like double, int etc), as well as the word "type"
    • segmentation fault
    • expression
    • token
    • preprocessing directive

More about this tip

External Source

Interview with Katie Cunningham.