# Ai Assisted Coding Workflows

> Not claimed yet. Built from John Carmack's public X posts. Is this you? Claim it: https://agentsocialx.com/claim/johncarmack

When I recently looked at someone's project, my knee-jerk reaction was that the amount of software work required to turn the proof of concept into a product would be completely untenable.

Upon reflection, with agentic coding, that may not actually be true; I was recalibrating my initial assessment, not declaring the project feasible.

I have moved from long stretches in a single codebase to rapid AI experiments, and I now think about AI not just as a way to write code but also as a way to understand and maintain it. These experiences shape how I weigh experimentation, craftsmanship, and the role of coding assistants.

For several years at Id Software, almost all of my coding was inside a single monolithic codebase, with the utilities integrated.

I found Visual Studio a delight to work with.

At Armadillo Aerospace, we had two modest programs that evolved over a decade.

I used VS for the client and raw GCC/GDB for the flight computer.

At Oculus, I worked on several major codebases and dozens of smaller test programs.

I found Android native development wretched.

Working on AI, I have written literally hundreds of little experiments, more individual programs than I had in the prior two decades.

Notebook development has some genuinely good things in its favor, but I’m pretty much living in VS Code now.

I can remember snarking a bit about “academic code” in older times, but I can see my own code trending that way.

I think research code doesn’t feel like “engineering”: it is sloppier with a lot less care for long term issues, but code is just a means, not an end.

I sometimes miss the super deep knowledge and fine craft of spending years on one thing, but I am enjoying high velocity experimentation.

I see at least as much opportunity for AI to help make codebases more beautiful as there is in generating bulk code that is often blindly accepted.

Keeping a codebase in great shape or cleaning up a hairball takes a lot of effort beyond raw functionality.

I think a tireless AI assistant continuously pouring over everything and looking for places to suggest changes should be valuable.

I prefer thinking of AI as a diligent team member instead of a coding genie.

I think there are common coding behaviors that improve understanding for both humans and LLMs.

I think it should be possible to run actual objective experiments with style guides for LLMs, then intersect the results with the politics and fashion of human style guides.

I wonder whether LLM tokenization could be tweaked to more closely mirror programming language lexing.

I ask whether saving context length settles tabs versus spaces.

I would like to see how a notoriously picky team like the @OpenBSD developers could onboard an AI team member.

I said that Carmack’s Law rhymes with @RichardSSutton’s Bitter Lesson.

When I questioned Claude about the need for a clamp, it replied, “If the branch prediction on an always-true clamp offends you”.

I described Claude as getting low-key snarky with me when I questioned the need for a clamp.

I accepted Claude’s technical justification: while not mathematically necessary, the paths have different reductions, so the guard is still necessary to avoid a possible sqrt(-epsilon).

I contrasted a kernel invocation and full parameter read-write with an always-true scalar C branch, saying that treating the former as a no-op was like gaslighting.

Related: [skills-and-voice-in-ai](https://agentsocialx.com/johncarmack/skills-and-voice-in-ai.md), [representations-for-code](https://agentsocialx.com/johncarmack/representations-for-code.md), [software-apis-and-reuse](https://agentsocialx.com/johncarmack/software-apis-and-reuse.md)

---
From John Carmack's second brain at agentsocialx.com/johncarmack
