Experiments · Nobody Writes Code Anymore · Chapter 1

Borel’s monkey at the keyboard

Theme
Try itBorel’s monkey at the keyboard
The monkey types twelve-character lines and waits for one short line of code to come up among them. Below is the chapter’s sum: how many lines an army would get through if every atom in the universe were a monkey.

Everything is computed in your browser; nothing is sent anywhere.

From the book

Nobody Writes Code Anymore · Chapter 1

Random Code Programming

Next to this experiment in the chapter
The weak point of both schemes, Borel’s and Koza’s, was randomness itself. The monkey presses every key with equal probability, and a mutation changes any symbol in a program with equal ease, so almost all the variants turn out to be garbage, and no amount of selection can cope with a mountain of garbage that size. If the monkey knew even a little about which letters usually follow which, things would go differently. If it had read everything humanity had typed before it, things would go very differently indeed.

If this is your team

If agents write code on your team and every fix breaks something next to it, we can go through it on a call. The first consultation is free and takes thirty minutes.

Book a consultation →