For most part programming is nothing more than translating from an imprecise concept expressed in human terms to a precise language understood by a machine.
"Our design ... reflects two major concerns. First, we want to establish the idea that a computer language is not just a way of getting a computer to perform operations but rather that it is a novel formal medium for expressing ideas about methodology. Thus, programs must be written for people to read, and only incidentally for machines to execute." -- Abelson and Sussman,
Structure and Interpretation of Computer Programs, from the Preface to the First Edition
The logical extension of this idea was brought out by Donald Knuth in the 1980s. If programs are primarily texts written for other humans, and only secondarily for computers to run, the relationship of code and comments should be inverted: the
dominant or overarching element should be expository writing (the "comments"), with executable code snippets included in it
passim.
Knuth published a book on this idea, describing a software package (CWEB) that compiles these Literate Programs into files a compiler can use.
https://www-cs-faculty.stanford.edu/~knuth/lp.html