DEV Community

Krishna Sagar R
Krishna Sagar R

Posted on • Updated on

Not Just Clean Code

The quote "Programs must be written for people to read, and only incidentally for machines to execute" By reading the book SICP or at least I believe it has a deeper meaning than readability of the code.

If we clearly read the actual phrases from SICP. They were talking about creating abstractions that hide details of the complexity of machine instructions which allows actual code looks closer to problem domain.

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.

A domain-specific language is something that can be understood and can be used as a medium of precise communication between people working in that domain is a higher-level abstraction that can be easily understood without thinking about how the computer manages memory and schedules the time of CPU to execute instructions of multiple programs in an operating system.

Top comments (0)