This idea can be developed in many other subjects. Errors can help learning if corrected, and that is used by many textbooks with end-of-chapter questions. The idea of the questions (which often have end of book answers) is to help the reader find out what needs correcting. The principle of learning is called knowledge of results.