Skip to content
On this page

Tasking vs delegation in LLM-assisted programming

circa Aug. 2023

[TL;DR: Check out Maccarone.]

Make you better

I've been playing with a specific idea in LLM-assisted programming: can we maintain a program more easily by annotating its source code to include LLM guidance?

Maccarone is a side project where I've tried that out. Some resources:

And here's what it looks like:

Screen recording of VS Code extension

This idea is pretty simple[1], but it changes the operating model from "the LLM gives me code for my program" to "the LLM owns some parts of the program". An analogy might be task assignment vs role delegation in the context of management.

Task assignment, i.e., pasting in code from an LLM (or tab-completing it), feels a bit like writing your application in assembly and occasionally pasting in output from your compiler. Stay in the highest-level language you have for as long as you can! Today, in the GPT era, our highest-level language is English.

Not sure if this model feels right, either, but I'd love to see more people experimenting with new developer experiences. We won't still be programming with code + copilot + chat in 2030, will we?

Notes


  1. Disclaimer: the implementation in Maccarone is also pretty bare-bones. It doesn't pull in context outside the current file, you have to manually refresh AI-managed code blocks, and so on. ↩︎