In my whirlwind of visits and discussions over the past two weeks, there's one p...

@okennedy@discuss.systems

In my whirlwind of visits and discussions over the past two weeks, there's one phrase that I've found myself repeatedly coming back to...

"Code is only one of the artifacts that results from the act of coding. The other, often far more important artifact, is a mental model."

The act of coding forces out misalignments between my mental model of the system on which I am building and the reality of the environment in which it will operate. I try to write my code in a way that causes the compiler to yell at me if such misalignments exist.

The act of coding forces me to build a mental model of the problem space, its constraints on the solution space, and the consequent implications of the environment in which the program operates. The code will not produce the correct results until it exists.

The act of coding forces me to establish precise module boundaries and to develop clean abstractions between each. Code complexity grows rapidly without such compartmentalization.

LLMs have often been compared to e.g., higher level languages, as just another layer of abstraction... but I'm increasingly convinced that this parallel only goes so far as Code (i.e., the artifact). Python, still forces devs to be precise, if only at a higher level of abstraction. No such forcing function exists in LLMs.