Today a student can give any programming task to an AI assistant and receive working code in seconds. This raises an important question for teachers: should AI be banned, or should students be taught to use it properly? My research in the theory and methodology of digital education is close to exactly this question.

Opportunities

  • A personal tutor. Students can ask again about a concept they did not understand, at any time and in their own language.
  • Explaining errors. The assistant explains an error message in plain language.
  • Code review. Students receive suggestions for improving their own code.

Risks

  • Copying without thinking. The student gets working code but does not understand it.
  • Wrong answers. The assistant may give an incorrect answer in a confident tone.
  • Distorted assessment. Homework no longer shows what the student actually knows.

A methodological answer

Banning does not work; the tasks need to change. For example, students explain AI-generated code line by line, find the mistake in an assistant’s answer, or write their own solution first and then compare it with the AI’s suggestion. Final assessment takes place in class through an oral defence or live coding. That way AI works with the student, not instead of the student.