Menu

POV: You watch your coding agent accidentally write an unhandled exception for the seventh time today
📰

POV: You watch your coding agent accidentally write an unhandled exception for the seventh time today

DEV Community: opensource·Jake Burwick·about 14 hours ago
#8CM2XKYQ
#devtoopensource#devto#dev#agent#code
Reading 0:00
15s threshold

POV: You are staring blankly at your monitor while your coding agent loops on a task, frantically adding optional chaining to an async function because it tried to read a property from a null value.

The agent is caught in the loop it runs over and over. It writes code. It runs code. It reads the error. It tries to fix it.

Except the language it is writing allows nulls and implicit exceptions. Every time the schema shifts slightly, the whole thing crashes at runtime.

I am Jake Burwick, a high school student. I built Vow, an open source programming language under the MIT license designed specifically for AI agents to write. The source code is public at github.com/JakeBurwick/vow.

Vow has no nulls and no exceptions.

If a function can fail, it returns a Result value. An agent cannot just pretend failure does not exist. It must handle the Result value using match or the ? operator, or the code will not build.

fn parsePrice(text) { let n = num(text)?…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.