All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Coding with AI as a Probabilistic Process: Navigating Trees of Possible Outcomes

By

_under_scores_

2mo ago· 9 min readenInsight

Summary

The article explores coding with AI as a probabilistic process, framing it as navigating a tree of possible outcomes rather than deterministic programming. The author discusses how thinking in terms of probabilities between input and output helps understand how AI fits into daily coding work, examining what percentage of probable outcomes will produce the desired result.

Key quotes

· 4 pulled
Recently I've been thinking about coding with AI in terms of it being a process of navigating a tree of probabilistic outcomes.
Most people using LLMs, especially with code, have a basic understanding of what they do ('bro, it just predicts the next token') but in practice, thinking in terms of the relationship between input and output I've found more useful.
Given what I provide, what is the probability of getting the output I need? Or what percentage of the probable outcomes will work?
This framing of coding with AI as a process of navigating a tree of probabilistic outcomes.
Snippet from the RSS feed
Thinking about coding with AI as a process of navigating a tree of probabilistic outcomes.

You might also wanna read