Urgent.News

What's breaking now, across thousands of outlets.

Tech

POV: You Asked Your Coding Agent to Fix a Null Reference for the Third Time Today

POV: You are staring at your screen while Claude Code rewrites the same async function four times because TypeScript allowed undefined to sneak into a database response. You watch the agent guess. It adds optional chaining. It adds a bang operator. It imports a type guard. None of it stops the crash when production hits an unexpected payload. Coding agents run on a simple loop. They write, they…

You are working on a coding project when your AI agent, Claude Code, repeatedly tries to fix a null reference issue in an async function. Despite Claude's attempts to insert optional chaining, a bang operator, and a type guard, the crash persists when unexpected data enters the system. Coding agents follow a simple loop: write code, run it, read the error, and attempt to fix it.

However, when the programming language they work with allows nulls and hidden exceptions, the process gets stuck on guesswork. Jake Burwick, a high school student, created Vow, an open-source programming language that aims to solve this problem. Vow is written under the MIT license and is available on GitHub. Unlike traditional languages, Vow has no nulls or exceptions, treating every failure as a value that must be handled.

Functions return Result values that can be processed with match or the ? operator. For instance, the `parsePrice` function checks if a converted number is non-negative and returns an error with a repair instruction if it's not. The language also includes security features, such as declaring which system resources a function can access using `uses net`, `uses fs`, or `uses env`.

Before execution, the sandbox checks for unauthorized access attempts. Vow compiles to JavaScript, and tests show it performs comparably to TypeScript and Python in certain scenarios. To install Vow, use npm: `npm install -g github:JakeBurwick/vow`. Claude Code users can add the necessary tools through Claude MCP. The platform offers a playground, tutorial, documentation, and an Errors page that compares Vow, TypeScript, and Python in handling errors.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Design a URL shortener: start with one server and let the numbers grow it

Most answers to "design a URL shortener" start with the final picture: load balancers, a cache cluster, Kafka, ten boxes. Interviewers see that every day.

  • Initial design starts with one server and single table for short codes.
  • Generate unique codes by assigning blocks of 10,000 numbers at once.
  • Introduce cache to track clicks and improve response time.

Cursor for Godot: how to use Cursor on a Godot game, and let it run the game too

Cursor for Godot works today: open your Godot project folder in Cursor and its agent reads and edits your GDScript and scenes like any codebase. What it cannot do alone is run the game.

  • Cursor for Godot is an AI-powered code editor for Godot projects
  • Flockbay offers a free AI-powered MCP server to run the game
  • Install godot-tools extension, add project rule, and connect MCP server

More from Monday 9 November →