This literature review examines the impact of integrating computer programming into the teaching of mathematics within primary, middle, and secondary (K-12) educational institutions. Analysing 12 selected articles, the study highlights the various aspects of this integration, detailing observed outcomes on the understanding of mathematical concepts, the development of reasoning skills, and learner engagement. The articles also reveal challenges related to teacher training and learners’ perception of this innovative pedagogical approach. Furthermore, this review identifies unexplored research areas and proposes recommendations for future studies, emphasizing avenues for investigating specific mathematical concepts and the use of diverse programming languages.