Beyond the Code: Embracing Mental Models in Programming

FS Ndzomga
3 min readJun 14, 2023

The quote essentially argues that programming is much more than simply writing lines of code, akin to how being a novelist isn’t just about stringing together a series of pleasant sentences. There’s a deeper, more conceptual and strategic level of thought that goes into both processes.

“Beginners often believe that programming is about writing code — specifying instructions to be executed by a computer.”

This is true for beginners because at the start, learning to program primarily involves learning syntax, structure, and commands of a specific programming language. It involves understanding loops, conditionals, data types, and such. At this stage, programming does seem like specifying instructions to be executed by a computer because beginners are primarily focused on getting the syntax right and making the code work as expected.

“But this is about as accurate as believing the job of a novelist is to craft nice sentences.”

This analogy makes a comparison between programming and novel-writing, pointing out that just as a good novel is more than a collection of well-written sentences, good programming involves more than just well-written code. A great novel requires a coherent plot, developed characters, captivating themes, and consistent pacing. Similarly, great programming…

--

--

FS Ndzomga
FS Ndzomga

Written by FS Ndzomga

Engineer passionate about data science, startups, philosophy and French literature. Built lycee.ai, discute.co and rimbaud.ai . Open for consulting gigs