• Compared to traditional activities, programming did not benefit mathematics learning.
• A negative though small effect of programming on mathematics learning was found.
• High-road transfer from programming to mathematics is not self-evident.
• Visual programming languages might distract students from mathematics activities.
• Compared to traditional activities, programming did not benefit mathematics learning.
• A negative though small effect of programming on mathematics learning was found.
• High-road transfer from programming to mathematics is not self-evident.
• Visual programming languages might distract students from mathematics activities.