Back Original

How I think about writing quality code fast with AI

DISCLOSURE: If you buy through affiliate links, I may earn a small commission. (disclosures)

I recently did a small tech talk at Recurse Center's weekly presentation day on software engineering with AI so thought I'd share the key ideas here.

I've also recorded the presentation slides with a lot more detail (RC presentations are only 5 mins!).

I think of AI as an eager, book-smart junior engineer that doesn't eat, sleep, or get bored. It's a super fast reader, typer, and researcher. It's a decent coder in most mainstream languages and has read tons of books and articles. But it has little hands-on experience, low taste and judgment for choosing what to apply when, and low discipline for sticking to rules.

There are three approaches to building with AI:

I think the future is vibe engineering - take the principles of traditional engineering and leverage the super fast speed of AI LLMs.

Different work calls for different approaches.

The standard agentic AI loop is: Plan -> Build -> Review.

This is very similar to a normal software engineering cycle. The difference is that you now play the role of the Tech Lead / Manager and AI is the implementer.

Going Further

You can enhance each phase:

Better Planning:

Better Building:

Better Reviews:

And once you've gotten those loops nice and reliable, you can move onto chains where AI auto passes from one loop to the next.

From the Pragmatic Engineer: