Didactical aspects of students' mathematics learning in programming