Encourage students to write clear, well-commented code by having students switch partners in the middle of a project.

Like(52 Likes)
  • Activity:
    • Students start by working in pairs on an assignment.
    • After a substantial amount of time (perhaps a few days to a few weeks) break students up into new pairs.
    • Each pair can decide which repository of code they want to use.
  • This motivates students to write clear, easy-to-read code because they want their code to be picked so they can continue working on it.