<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Hayati</title>
    <description>The latest articles on DEV Community by Hayati (@hayatibis).</description>
    <link>https://dev.to/hayatibis</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F542187%2F00f285db-17b3-4193-802f-d22677c16190.png</url>
      <title>DEV Community: Hayati</title>
      <link>https://dev.to/hayatibis</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/hayatibis"/>
    <language>en</language>
    <item>
      <title>Let's look here in the code</title>
      <dc:creator>Hayati</dc:creator>
      <pubDate>Sun, 22 Nov 2026 08:41:27 +0000</pubDate>
      <link>https://dev.to/hayatibis/lets-look-here-in-the-code-5lj</link>
      <guid>https://dev.to/hayatibis/lets-look-here-in-the-code-5lj</guid>
      <description>&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://hayatibis.dev/writing/lets-look-here-in-the-code" rel="noopener noreferrer"&gt;hayatibis.dev&lt;/a&gt;, where the figures move and the toys are interactive.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fw8e5edklscq9y3rv5d3a.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fw8e5edklscq9y3rv5d3a.png" alt="Illustrative. Thousands of scattered lines settle into a file, and one head goes straight to the right line, as if it had an O(1) index." width="800" height="320"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Illustrative. Thousands of scattered lines settle into a file, and one head goes straight to the right line, as if it had an O(1) index.&lt;/em&gt; (&lt;a href="https://hayatibis.dev/writing/lets-look-here-in-the-code" rel="noopener noreferrer"&gt;interactive version&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;There were colleagues I looked up to, technical people. When they walked us through a case, they would take you to the right line in maybe 15,000 lines of code, as if they had an O(1) index: “Let’s look here in the code, there’s definitely something there.” The whole flow was settled in their head. We’d think, wow.&lt;/p&gt;

&lt;p&gt;I feel we’re slowly moving away from that.&lt;/p&gt;

&lt;h2&gt;
  
  
  One head was never enough either
&lt;/h2&gt;

&lt;p&gt;Knowledge used to live in at least one person’s head. That wasn’t really right either. When that person was on leave, busy or just not around, we spent extra time trying to understand the problem. Or when they left the company, we knew more or less where things were, but never as well as they did, and we lost some understanding along the way. It was harder than usual, but it got done somehow.&lt;/p&gt;

&lt;p&gt;So we chased better processes. As CMMI puts it, a systematic way towards the outputs of the process improving the process itself.[1] We tried to move knowledge out of one head and make it the team’s: with docs, review, pairing and tests.&lt;/p&gt;

&lt;h2&gt;
  
  
  We still have the big picture, but it’s blurry
&lt;/h2&gt;

&lt;p&gt;Today agents write most of the code. We still know the big picture: what the services do, roughly where the data flows. But the picture has gone blurry, and keeping command of it has become harder.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0gfdyez7r20ws7muorl6.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0gfdyez7r20ws7muorl6.png" alt="Illustrative. The same twelve files, four ways of knowing them. One head can point to the line; when it’s on leave, everything takes longer. The team spreads it with process. When agents write the code, the services are still clear and the lines blur. Writing why the code is there into the harness, as tests, ADRs and checks, brings the line back into reach." width="800" height="470"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Illustrative. The same twelve files, four ways of knowing them. One head can point to the line; when it’s on leave, everything takes longer. The team spreads it with process. When agents write the code, the services are still clear and the lines blur. Writing why the code is there into the harness, as tests, ADRs and checks, brings the line back into reach.&lt;/em&gt; (&lt;a href="https://hayatibis.dev/writing/lets-look-here-in-the-code" rel="noopener noreferrer"&gt;interactive version&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;This week I read two pieces on this, and in both I found what I’ve been thinking too.&lt;/p&gt;

&lt;h2&gt;
  
  
  Half the work was safeguards
&lt;/h2&gt;

&lt;p&gt;The first is a &lt;a href="https://x.com/atarikguney/status/2124222260148105414" rel="noopener noreferrer"&gt;post&lt;/a&gt; on X by Tarık Güney, an engineer at Microsoft, written in Turkish. He describes a problem he sees in the people he advises: they don’t feel as valuable as they used to. He points out that this isn’t new. When the Stripe API came out, the engineer who had gone deep on payments lost some of their edge; when jQuery and React came out, so did the one who knew the DOM inside out. What we feel with AI is the same thing at a much larger scale.&lt;/p&gt;

&lt;p&gt;The part that stuck with me, in my translation: what engineers missed is that for years, more than half of what they did when building software was guarding against the mistakes people can make.&lt;/p&gt;

&lt;p&gt;Clean code, CI/CD, abstraction, garbage collection: in his view all of them were, at the end of the day, there to reduce human error and make the work easier. So the safeguards we took against people’s mistakes yesterday, we need to take against agents’ mistakes today. That’s also where he points people asking about their careers: treating agentic coding as an engineering problem, and building confidence in the PR.&lt;/p&gt;

&lt;p&gt;Under it he also suggested quitting social media. I agree: social media’s “software engineering is over, nobody needs developers anymore, anyone can do anything” hype does psychological damage, so it’s better not to take it too seriously. Thinking about where to focus and how to grow your career makes more sense.&lt;/p&gt;

&lt;p&gt;I think along the same lines. The processes we chased were safeguards too: so not everything hung on the index in my colleagues’ heads, and we wouldn’t lose that extra time when someone was on leave or got something wrong. Someone else writes the code now, but those safeguards are still needed, and we’ve been building most of them for years.&lt;/p&gt;

&lt;h2&gt;
  
  
  Built isn’t working in production
&lt;/h2&gt;

&lt;p&gt;The second is a &lt;a href="https://martinfowler.com/rachels-ramblings/good-devs-wary.html" rel="noopener noreferrer"&gt;piece&lt;/a&gt; on martinfowler.com by Rachel Laycock, CTO at Thoughtworks. Her question: why are good developers so wary of agentic development? The easy answer is that they love writing code, or worry about their jobs. Laycock says that’s true for some, but there’s something else behind it. Nearly every system we have in production was built the old way, by hand, by people we could trust. We haven’t lived with one built the new way yet. The wary ones aren’t hesitant to use an agent; they’re hesitant to take their hand off the wheel. It’s like going to autonomous driving after years of driving with your foot on the gas and the brake, always correcting the wheel by reflex: will we feel at ease, where and how will it take precautions, or am I going to crash?&lt;/p&gt;

&lt;p&gt;My favourite part is an experiment. A team at Thoughtworks spent a week where nobody wrote any code and agents built everything. About two thirds of their time went to the whiteboard: working out the domain, drawing boundaries, making plans the agents could act on. The other third went to the harness: tests, contracts, architecture checks and a delivery pipeline. In her words, “Most of the work at the keyboard was directing agents to put this learning into the harness”, so they’d get it right on the next run.&lt;/p&gt;

&lt;p&gt;The application ran, but the build was often red. “A red build should mean something: stop, investigate, fix it.” She asks: “If it’s red so often that people stop paying attention, how do we spot the next real failure?” And “if we can’t trust the checks, a green build stops being reassuring too.” Her summary fits in one line: “Built is not the same as working in production.”&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fv95nvrckdmlcuma4btek.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fv95nvrckdmlcuma4btek.png" alt="Illustrative. The same stream of builds as agents commit. Red so often that people stop paying attention, and the next real failure hides among the rest. Red that means stop, investigate, fix stays rare, and a green build is reassuring again." width="800" height="270"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Illustrative. The same stream of builds as agents commit. Red so often that people stop paying attention, and the next real failure hides among the rest. Red that means stop, investigate, fix stays rare, and a green build is reassuring again.&lt;/em&gt; (&lt;a href="https://hayatibis.dev/writing/lets-look-here-in-the-code" rel="noopener noreferrer"&gt;interactive version&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;I think what Tarık calls safeguards and what Laycock calls the harness are the same thing. This site has a small harness of its own: the rules for the writing and my corrections live in an AGENTS.md and a log, and if a phrase I don’t want reaches published text, a test fails. The agent learns from them every time.&lt;/p&gt;

&lt;h2&gt;
  
  
  Breathing room
&lt;/h2&gt;

&lt;p&gt;We need breathing room. I used to have a practice: on some Mondays I’d get to the office at 06:00 and sit down to read a solution I’d worked on maybe two or three months earlier. Two or three months later was a good time to look at how I’d been thinking when I wrote it. My cache was cleared, and I looked at it with different eyes: is this code really understandable? If I couldn’t follow my own code while reading it, the problem was big; expecting someone else to understand it by reading would have been shameful.&lt;/p&gt;

&lt;p&gt;That also made room for cosmetic updates to the code. We’d take a breath and, without changing behaviour, try to make it more readable, more modular, with less cognitive complexity. Most recently we tried to do this in Go with &lt;a href="https://github.com/evilmartians/lefthook" rel="noopener noreferrer"&gt;lefthook&lt;/a&gt; and &lt;a href="https://github.com/uudashr/gocognit" rel="noopener noreferrer"&gt;gocognit&lt;/a&gt;,[2] aiming to measure and reduce cognitive load with rule-based static analysis.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2g8ximlccp0y6svokifn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2g8ximlccp0y6svokifn.png" alt="gocognit’s own example, from its README: the same function scores 4 with if / else and 1 with switch. The behaviour is the same; the second is easier to understand, so it scores lower." width="799" height="372"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;gocognit’s own example, from its README: the same function scores 4 with if / else and 1 with switch. The behaviour is the same; the second is easier to understand, so it scores lower.&lt;/em&gt; (&lt;a href="https://hayatibis.dev/writing/lets-look-here-in-the-code" rel="noopener noreferrer"&gt;interactive version&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;With agents writing code this fast, I think these breaks matter even more. And a check like gocognit is already part of the harness: whoever wrote the code, it catches a hard-to-read function in the hook.&lt;/p&gt;

&lt;h2&gt;
  
  
  “That’s not how you do it”
&lt;/h2&gt;

&lt;p&gt;I’ve been doing this for nine or ten years. Among developers there was always a crowd that didn’t like anything. Everyone talked back and forth about everyone else’s solution, playing “that’s not how you do it, this is how”. It was a silly war that put the “in my opinion” side of the work first. Plenty of it played out between developers with big Twitter followings too, and I think it was pointless.&lt;/p&gt;

&lt;p&gt;Because what was valuable was always the same: software that always works, works correctly, and is designed so you can keep adding value on top of it. Not whose solution was more elegant.&lt;/p&gt;

&lt;p&gt;Give the same job to N different teams and you could get M different solutions. Architecture decisions, language choice: the Java people, the Go people, the Node.js people, the ones writing JS on Node and the ones writing TS, the “let’s use a broker” camp and the “no broker, let’s do Redis” camp, the “man, why Postgres, let’s go MySQL” crowd, and so on. It smelled a bit of fanaticism, too. People also wanted to stay in the stack they knew. That wasn’t a bad approach, really, but forcing an SQL database where Mongo would have done well was unnecessary all the same. Shipping fast with a startup mindset to land a seed round is another topic. For a project that will live a long time, we’d rather move with a more manageable process, keeping it on a plane with fewer architectural changes or more manageable refactors, than spend effort trying to climb out of spaghetti later. Of course, it was always like this.&lt;/p&gt;

&lt;p&gt;Looking back, I think most of those arguments were about taste, but some of them stood on a real question. The real work was telling the two apart. Two illustrative examples: a product catalogue where every category has different fields lives naturally as documents, and Mongo is at home there. The tables that hold orders and payments need transactions and consistency, and there a relational database isn’t up for debate. Brokers are the same: if several services read an event and you may need to replay it from the start, a broker is a need; if it’s a short-lived job queue between two services, Redis is often enough. The right question wasn’t “which one do we like”; it was the shape of the data, how much consistency it needs, and how long the project will live.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3pq8tpimqh1gh7b39xlv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3pq8tpimqh1gh7b39xlv.png" alt="Illustrative. Give the same job to five teams and you get five stacks. Here the language doesn’t decide it; the shape of the data and how the messages are read do." width="800" height="395"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Illustrative. Give the same job to five teams and you get five stacks. Here the language doesn’t decide it; the shape of the data and how the messages are read do.&lt;/em&gt; (&lt;a href="https://hayatibis.dev/writing/lets-look-here-in-the-code" rel="noopener noreferrer"&gt;interactive version&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;I don’t think staying in a familiar stack was something to wave away, either. Being able to write a language is one thing; knowing where to look when it fails in production is another. The “let’s look here in the code” moment at the start of this essay is exactly the second one. So the best outcome of those arguments wasn’t the winning side but a short ADR that wrote the decision down with its reason: six months later, when someone asks “why MySQL?”, the answer sits in the repo, not in one person’s head.&lt;/p&gt;

&lt;p&gt;With agents writing the code, the sides of that war scatter a bit :) Often there’s no code owner left to argue “in my opinion” with, and the talk moves to two questions: does it work, and does it work correctly? The answer comes more from tests and checks than from one person’s opinion.&lt;/p&gt;

&lt;h2&gt;
  
  
  Back to those colleagues
&lt;/h2&gt;

&lt;p&gt;That “let’s look here in the code” moment hasn’t gone away, I think; it has moved. The agent finds the line and brings it now. But something has to know why that line is there: a test, an ADR, a check. It used to be one person’s head that carried it; now the harness can, as long as we still look at it when it goes red.&lt;/p&gt;

&lt;p&gt;In your codebase, where is the first place an agent wrote that you couldn’t point to and say “there’s definitely something there”? Or is it everywhere? Just some places? :)&lt;/p&gt;




&lt;h2&gt;
  
  
  Stands on
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;a href="https://www.sei.cmu.edu/documents/1092/1993_005_001_16211.pdf" rel="noopener noreferrer"&gt;Mark C. Paulk, Bill Curtis, Mary Beth Chrissis, Charles V. Weber, Capability Maturity Model for Software, Version 1.1 (CMU/SEI-93-TR-024) (1993)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://x.com/atarikguney/status/2124222260148105414" rel="noopener noreferrer"&gt;Tarık Güney on X (21 November 2026, in Turkish)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://martinfowler.com/rachels-ramblings/good-devs-wary.html" rel="noopener noreferrer"&gt;Rachel Laycock: Why are good developers so wary of agentic development? (martinfowler.com, 29 October 2026)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://github.com/uudashr/gocognit" rel="noopener noreferrer"&gt;uudashr/gocognit: cognitive complexity of Go functions (GitHub)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://www.sonarsource.com/docs/CognitiveComplexity.pdf" rel="noopener noreferrer"&gt;G. Ann Campbell (SonarSource), Cognitive Complexity: A new way of measuring understandability (version 1.7, 29 August 2023) (2023)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://github.com/evilmartians/lefthook" rel="noopener noreferrer"&gt;evilmartians/lefthook: Git hooks manager (GitHub)&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;strong&gt;Notes&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The idea is the definition of level five in the SEI’s Capability Maturity Model (1993), CMMI’s predecessor: “Continuous process improvement is enabled by quantitative feedback from the process”.&lt;/li&gt;
&lt;li&gt;gocognit “calculates cognitive complexities of functions (and methods) in Go source code”, in its own words “a measurement of how hard does the code is intuitively to understand”. Its rules come from G. Ann Campbell’s Cognitive Complexity white paper at SonarSource. lefthook is a Git hooks manager.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;A new essay every Sunday: &lt;a href="https://buttondown.com/hayatibis" rel="noopener noreferrer"&gt;get it by email&lt;/a&gt;. If you'd like more of these, you can support the writing on &lt;a href="https://www.patreon.com/cw/hayatibis" rel="noopener noreferrer"&gt;Patreon&lt;/a&gt;, or &lt;a href="https://buymeacoffee.com/hayatibis" rel="noopener noreferrer"&gt;buy me a coffee&lt;/a&gt; once.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>softwareengineering</category>
      <category>ai</category>
    </item>
    <item>
      <title>The graph I fell into</title>
      <dc:creator>Hayati</dc:creator>
      <pubDate>Sun, 15 Nov 2026 07:34:30 +0000</pubDate>
      <link>https://dev.to/hayatibis/the-graph-i-fell-into-59gi</link>
      <guid>https://dev.to/hayatibis/the-graph-i-fell-into-59gi</guid>
      <description>&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://hayatibis.dev/writing/reading-rfcs-as-a-graph" rel="noopener noreferrer"&gt;hayatibis.dev&lt;/a&gt;, where the figures move and the toys are interactive.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;RFC stands for Request for Comments. The IETF,[1] the body that makes the Internet’s voluntary standards, says it plainly on its &lt;a href="https://www.ietf.org/process/rfcs/" rel="noopener noreferrer"&gt;page about RFCs&lt;/a&gt;: “RFCs are the core output of the IETF.” They “describe the Internet’s technical foundations, such as addressing, routing, and transport technologies.” They’re numbered in order, starting with RFC 1 in 1969, anyone can read them for free, and once an RFC is published it never changes. A fix comes as a new RFC that points back at the old one. That last rule is why reading one pulls you into a graph.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;TL;DR:&lt;/strong&gt; This is a long story, from RFC 1 to Lynx and on to today. Where I’m really heading is the graph I fell into reading an RFC, and the little toy that draws it. If that sounds like a lot, skip straight there; nobody will mind :)&lt;/p&gt;

&lt;p&gt;In 2017 and 2018 I was working on an &lt;a href="https://emvco.com/wp-content/uploads/news/EMV-3DS-PR_FINAL.pdf" rel="noopener noreferrer"&gt;EMVCo 3-D Secure 2.0&lt;/a&gt; integration,[2] and it kept sending me to three documents: &lt;a href="https://rfc-graph.hayatibis.dev/?rfc=7515" rel="noopener noreferrer"&gt;RFC 7515&lt;/a&gt; (JWS), &lt;a href="https://rfc-graph.hayatibis.dev/?rfc=7516" rel="noopener noreferrer"&gt;RFC 7516&lt;/a&gt; (JWE) and &lt;a href="https://rfc-graph.hayatibis.dev/?rfc=7519" rel="noopener noreferrer"&gt;RFC 7519&lt;/a&gt; (JWT). I printed them. I remember going through them on paper, line by line, with a pen, trying to understand why a signature is laid out the way it is.&lt;/p&gt;

&lt;p&gt;In the specification’s sections on how messages are handled and verified, JWS and JWE came up again and again. In the app-based flow, for example, “The 3DS SDK shall verify the JWS signature found in the ACS Signed Content”[3], and the SDK’s challenge messages to the ACS go out as JWE objects. I was trying to understand those two acronyms.&lt;/p&gt;

&lt;p&gt;By the way, did you know the JWT library in your Go or Node.js service, the auth package really, is an implementation of exactly these RFCs? &lt;a href="https://github.com/golang-jwt/jwt" rel="noopener noreferrer"&gt;golang-jwt&lt;/a&gt; opens its README by calling itself a Go “implementation of JSON Web Tokens” and links that to RFC 7519; Node’s &lt;a href="https://github.com/auth0/node-jsonwebtoken" rel="noopener noreferrer"&gt;jsonwebtoken&lt;/a&gt; starts with “An implementation of JSON Web Tokens”, linked to the same RFC.&lt;/p&gt;

&lt;p&gt;That was the first time I read RFCs on purpose. It wasn’t the first time they had been under my feet.&lt;/p&gt;

&lt;h2&gt;
  
  
  We use them every day
&lt;/h2&gt;

&lt;p&gt;HTTP, TCP, TLS, DNS, the JWT in your login cookie: we say these names every day, and most of us have never opened the document behind them. I hadn’t either, until I stumbled into one. Each of those names is an RFC. &lt;a href="https://rfc-graph.hayatibis.dev/?rfc=791" rel="noopener noreferrer"&gt;RFC 791&lt;/a&gt; is IP, from 1981. TCP is &lt;a href="https://rfc-graph.hayatibis.dev/?rfc=9293" rel="noopener noreferrer"&gt;RFC 9293&lt;/a&gt; now, rewritten in 2022, and HTTP’s meaning lives in &lt;a href="https://rfc-graph.hayatibis.dev/?rfc=9110" rel="noopener noreferrer"&gt;RFC 9110&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;They’re working for you right now, by the way. DNS (&lt;a href="https://rfc-graph.hayatibis.dev/?rfc=1035" rel="noopener noreferrer"&gt;RFC 1035&lt;/a&gt;) turned hayatibis.dev into an address, TCP carried the bytes (or QUIC, &lt;a href="https://rfc-graph.hayatibis.dev/?rfc=9000" rel="noopener noreferrer"&gt;RFC 9000&lt;/a&gt;, its younger cousin, if your browser picked HTTP/3), &lt;a href="https://rfc-graph.hayatibis.dev/?rfc=8446" rel="noopener noreferrer"&gt;TLS 1.3&lt;/a&gt; kept them private on the way, and HTTP asked for this page. So you’re reading an essay about RFCs thanks to a stack of RFCs :)&lt;/p&gt;

&lt;p&gt;One Sunday I watched Ben Eater’s &lt;a href="https://www.youtube.com/playlist?list=PLowKtXNTBypH19whXTVoG3oKSuOcw_XeW" rel="noopener noreferrer"&gt;Networking tutorial&lt;/a&gt;, thirteen videos, the first one called “Sending digital information over a wire”. I remember being properly impressed. Sunday activities like that feel a bit nostalgic these days, but RFCs and deep dives like that have always mattered to me.&lt;/p&gt;

&lt;h2&gt;
  
  
  Lynx, from before even Netscape
&lt;/h2&gt;

&lt;p&gt;It started earlier, at university. In our web programming fundamentals course, our much-valued teacher Gönenç told us about Lynx, a browser that runs in a terminal and shows the web as text. Through it I set off towards the foundations of the web and began poking at what’s underneath. Lynx is older than Netscape, think of it :) It began at the University of Kansas in 1992; Netscape Navigator came out in 1994.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F55cf57cvsdajfmxa2qcf.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F55cf57cvsdajfmxa2qcf.png" alt="RFC 1 in Lynx 2.9.3: a note from 1969 in a browser from 1992, and it still reads fine. A real Lynx screen, captured from a terminal." width="800" height="639"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;RFC 1 in Lynx 2.9.3: a note from 1969 in a browser from 1992, and it still reads fine. A real Lynx screen, captured from a terminal.&lt;/em&gt; (&lt;a href="https://hayatibis.dev/writing/reading-rfcs-as-a-graph" rel="noopener noreferrer"&gt;interactive version&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;Here’s a thread I only found while writing this. One of Lynx’s three authors, Lou Montulli, became a founding engineer at Netscape in 1994 and came up with the HTTP cookie there.[4] In 1997 the cookie became &lt;a href="https://rfc-graph.hayatibis.dev/?rfc=2109" rel="noopener noreferrer"&gt;RFC 2109&lt;/a&gt;, and his name is on it; &lt;a href="https://rfc-graph.hayatibis.dev/?rfc=6265" rel="noopener noreferrer"&gt;RFC 6265&lt;/a&gt; is the version we use today. The text browser I met at university and the cookie in every browser now sit two nodes apart in the same graph.&lt;/p&gt;

&lt;p&gt;What that journey gave me, more than any protocol, was a way to watch a world I wasn’t part of. I wasn’t there in 1969 or in 1992. Reading the notes, I could follow it from today, decision by decision.&lt;/p&gt;

&lt;h2&gt;
  
  
  RFC 1
&lt;/h2&gt;

&lt;p&gt;Steve Crocker tells this story himself in &lt;a href="https://rfc-graph.hayatibis.dev/?rfc=8700" rel="noopener noreferrer"&gt;RFC 8700&lt;/a&gt;, &lt;em&gt;Fifty Years of RFCs&lt;/em&gt;, and it starts with a network that didn’t exist yet.&lt;/p&gt;

&lt;p&gt;The ARPANET was a government procurement. The Advanced Research Projects Agency, ARPA (it became DARPA, the Defense Advanced Research Projects Agency, in 1972), started buying it in the summer of 1968 (“remember Vietnam, flower children, etc.?”, Crocker writes), and in his words “this was the first version to explore packet switching as a core part of the communication strategy”. The Internet, Crocker writes, “owes its beginning to the ARPANET”. The plan was to link four sites in the western United States, each running a different computer: UCLA, SRI in Menlo Park, UC Santa Barbara and the University of Utah.&lt;/p&gt;

&lt;p&gt;The government’s request called for four packet-switching devices, one for each site, called Interface Message Processors, or IMPs. Building them was BBN’s job. Bolt Beranek and Newman, in Cambridge, Massachusetts, won the contract in late 1968 and started work in January 1969, with the first IMP due at UCLA at the beginning of September.&lt;/p&gt;

&lt;p&gt;So in early 1969 there was no ARPANET yet. BBN was building the IMPs, and the protocols between the computers fell to “a small, fairly consistent set of graduate students and staff members” from the four sites. Crocker organised their notes. He was afraid the notes would look like a claim to authority the group didn’t have: “Finally, unable to sleep, I wrote a few humble words.” The ground rules were “that anyone could say anything and that nothing was official”, and Bill Duvall suggested the name: Request for Comments.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://rfc-graph.hayatibis.dev/?rfc=1" rel="noopener noreferrer"&gt;RFC 1&lt;/a&gt;, “Host Software”, is dated 7 April 1969, and its introduction ends like this: “Very little of what is here is firm and reactions are expected.” &lt;a href="https://rfc-graph.hayatibis.dev/?rfc=3" rel="noopener noreferrer"&gt;RFC 3&lt;/a&gt; set the bar as low as it would go: “Notes are encouraged to be timely rather than polished.” The minimum length of a note was one sentence.&lt;/p&gt;

&lt;p&gt;That’s the part I like most. The documents that run the Internet started as humble notes written at night, inviting anyone to answer.&lt;/p&gt;

&lt;h2&gt;
  
  
  The graph I fell into
&lt;/h2&gt;

&lt;p&gt;You open one RFC to check one thing, and it sends you to another. RFC 9110 alone lists 83 references, most of them other RFCs, and it obsoletes nine RFCs, so an old link can drop you into text that no longer holds. The RFC Editor’s &lt;a href="https://www.rfc-editor.org/rfc-index.xml" rel="noopener noreferrer"&gt;index&lt;/a&gt;[5] had 9,854 RFCs on 6 November 2026, and the numbering has passed five digits: the newest that day was RFC 10080.&lt;/p&gt;

&lt;p&gt;For years I had an idea in the corner of my mind: read an RFC with that whole graph in view, so you can see where you are and what you skipped. It stayed an idea, the kind of hobby project you never find the evening for. Now that we build with AI, the project came together in less than an hour.&lt;/p&gt;

&lt;p&gt;It’s &lt;a href="https://rfc-graph.hayatibis.dev" rel="noopener noreferrer"&gt;rfc-graph&lt;/a&gt; (&lt;a href="https://github.com/hayatibis/rfc-graph" rel="noopener noreferrer"&gt;source&lt;/a&gt;). It starts at RFC 1 and fetches each RFC’s references live from the IETF Datatracker and the RFC Editor.[6] Each RFC is a star coloured by the year it came out, and light runs from an RFC to the ones that build on it. You can read the text beside the graph, and every “RFC nnnn” in it is a way in.[7]&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzpmizr2h8r45xxx391xt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzpmizr2h8r45xxx391xt.png" alt="RFC 9110 in rfc-graph: 64 RFCs it refers to, coloured by year, the obsoleted ones struck through." width="800" height="515"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;RFC 9110 in rfc-graph: 64 RFCs it refers to, coloured by year, the obsoleted ones struck through.&lt;/em&gt; (&lt;a href="https://hayatibis.dev/writing/reading-rfcs-as-a-graph" rel="noopener noreferrer"&gt;interactive version&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;And since we started in Lynx, here’s the same toy there. It needs JavaScript to draw the sky, so Lynx gets the buttons and five lonely stars :)&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvgf4o2yhnep7zgunzaf1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvgf4o2yhnep7zgunzaf1.png" alt="rfc-graph in Lynx: no JavaScript, no sky. A real Lynx screen." width="800" height="639"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;rfc-graph in Lynx: no JavaScript, no sky. A real Lynx screen.&lt;/em&gt; (&lt;a href="https://hayatibis.dev/writing/reading-rfcs-as-a-graph" rel="noopener noreferrer"&gt;interactive version&lt;/a&gt;)&lt;/p&gt;

&lt;h2&gt;
  
  
  What RFCs are about now
&lt;/h2&gt;

&lt;p&gt;There’s no RFC for MCP or for RAG.[8] MCP has its own process (more on that below), and it still stands on RFCs: its &lt;a href="https://modelcontextprotocol.io/specification/2026-07-28/basic/authorization" rel="noopener noreferrer"&gt;authorization spec&lt;/a&gt; says the mechanism “is based on established specifications listed below”, and six of the ten on that list are RFCs. Of the 152 RFCs published in 2026 up to November, 44 came from the security area, and a clear thread runs through them: getting ready for quantum computers, with post-quantum key exchange for TLS 1.3 and for SSH. We’re reading these and trying to understand them. Reading the past is fun, but trying to see and understand the future is quite a bit harder :) HTTP got a new method, &lt;a href="https://rfc-graph.hayatibis.dev/?rfc=10008" rel="noopener noreferrer"&gt;QUERY&lt;/a&gt;, a safe request that can carry a body. The only RFC about AI so far is a report, &lt;a href="https://rfc-graph.hayatibis.dev/?rfc=9969" rel="noopener noreferrer"&gt;RFC 9969&lt;/a&gt;, from an IAB workshop, AI-CONTROL,[9] on practical ways for a site to opt out of AI crawling.[10]&lt;/p&gt;

&lt;h2&gt;
  
  
  A new cycle, for agents?
&lt;/h2&gt;

&lt;p&gt;This is the question I keep coming back to. Did that culture of open, numbered notes lead to the agents we have now, and is the AI shift starting a new cycle of RFCs?&lt;/p&gt;

&lt;p&gt;Some of it is already happening. In October 2026 the IETF chartered a working group, &lt;a href="https://datatracker.ietf.org/wg/agentproto/about/" rel="noopener noreferrer"&gt;Agent Communication Protocols&lt;/a&gt;, “to define a common baseline agentic dialog management protocol”. One of the drafts that led there, &lt;a href="https://datatracker.ietf.org/doc/draft-rosenberg-aiproto-framework/" rel="noopener noreferrer"&gt;Framework, Use Cases and Requirements for AI Agent Protocols&lt;/a&gt; (October 2025), still opens with “Network Working Group”, the same words at the top of RFC 1. Another group, &lt;a href="https://datatracker.ietf.org/wg/aipref/about/" rel="noopener noreferrer"&gt;AI Preferences&lt;/a&gt;, is writing a vocabulary for saying how content may be used for AI.&lt;/p&gt;

&lt;p&gt;Agent identity is taking the same road. A draft from the IETF’s Workload Identity in Multi-System Environments (WIMSE) group, &lt;a href="https://datatracker.ietf.org/doc/draft-ietf-wimse-aims/" rel="noopener noreferrer"&gt;AI Identity Management System&lt;/a&gt;, dated 2 November 2026, has a section titled “Agents are workloads” and says up front what it won’t do: “Rather than defining new protocols, this document describes how existing and widely deployed standards can be applied or extended to establish agent authentication and authorization.” And the week this essay goes out the IETF is meeting in San Francisco, by the way: &lt;a href="https://www.ietf.org/meeting/127/" rel="noopener noreferrer"&gt;IETF 127&lt;/a&gt; “starts Saturday 14 November and runs through Friday afternoon, 20 November”.&lt;/p&gt;

&lt;p&gt;Outside the IETF the habit gets copied. The Model Context Protocol changes through &lt;a href="https://modelcontextprotocol.io/community/sep-guidelines" rel="noopener noreferrer"&gt;Specification Enhancement Proposals&lt;/a&gt;: a proposal “needs a working group to sponsor it before formal review”, and it only becomes Final with “Specification text, reference implementation and conformance test complete”. Write it down in the open, and show it running. That’s 1969 with a new kind of reader.&lt;/p&gt;

&lt;h2&gt;
  
  
  Back to the printed pages
&lt;/h2&gt;

&lt;p&gt;The JWS, JWE and JWT I read on paper are 2015 documents, and they still sit in the graph: &lt;a href="https://rfc-graph.hayatibis.dev/?rfc=9964" rel="noopener noreferrer"&gt;RFC 9964&lt;/a&gt; brought a post-quantum signature to JOSE this year. That agent identity draft leans on them too: “In many deployments, access tokens are structured as JSON Web Tokens (JWTs)”, it says of the token an agent presents. These days, though, while we’re digesting ideas like the agent harness[11] and putting them to work, printing things out isn’t such a great idea anymore. Crocker expected reactions in 1969. The reader following those references now is often an agent, and sometimes, on a Sunday, still one of us with a pen.&lt;/p&gt;

&lt;p&gt;Which RFC do you use every day and have never opened? :)&lt;/p&gt;




&lt;h2&gt;
  
  
  Specs referenced
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;a href="https://www.rfc-editor.org/rfc/rfc3935" rel="noopener noreferrer"&gt;RFC 3935: A Mission Statement for the IETF&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://www.rfc-editor.org/rfc/rfc2850" rel="noopener noreferrer"&gt;RFC 2850: Charter of the Internet Architecture Board (IAB)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://www.rfc-editor.org/rfc/rfc1" rel="noopener noreferrer"&gt;RFC 1: Host Software&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://www.rfc-editor.org/rfc/rfc3" rel="noopener noreferrer"&gt;RFC 3: Documentation conventions&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://www.rfc-editor.org/rfc/rfc8700" rel="noopener noreferrer"&gt;RFC 8700: Fifty Years of RFCs&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://www.rfc-editor.org/rfc/rfc7515" rel="noopener noreferrer"&gt;RFC 7515: JSON Web Signature (JWS)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://www.rfc-editor.org/rfc/rfc7516" rel="noopener noreferrer"&gt;RFC 7516: JSON Web Encryption (JWE)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://www.rfc-editor.org/rfc/rfc7519" rel="noopener noreferrer"&gt;RFC 7519: JSON Web Token (JWT)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://www.rfc-editor.org/rfc/rfc791" rel="noopener noreferrer"&gt;RFC 791: Internet Protocol&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://www.rfc-editor.org/rfc/rfc9293" rel="noopener noreferrer"&gt;RFC 9293: Transmission Control Protocol (TCP)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://www.rfc-editor.org/rfc/rfc1035" rel="noopener noreferrer"&gt;RFC 1035: Domain names - implementation and specification&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://www.rfc-editor.org/rfc/rfc9000" rel="noopener noreferrer"&gt;RFC 9000: QUIC: A UDP-Based Multiplexed and Secure Transport&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://www.rfc-editor.org/rfc/rfc8446" rel="noopener noreferrer"&gt;RFC 8446: The Transport Layer Security (TLS) Protocol Version 1.3&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://www.rfc-editor.org/rfc/rfc9110" rel="noopener noreferrer"&gt;RFC 9110: HTTP Semantics&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://www.rfc-editor.org/rfc/rfc9964" rel="noopener noreferrer"&gt;RFC 9964: ML-DSA for JSON Object Signing and Encryption (JOSE) and CBOR Object Signing and Encryption (COSE)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://www.rfc-editor.org/rfc/rfc2109" rel="noopener noreferrer"&gt;RFC 2109: HTTP State Management Mechanism&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://www.rfc-editor.org/rfc/rfc6265" rel="noopener noreferrer"&gt;RFC 6265: HTTP State Management Mechanism&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://www.rfc-editor.org/rfc/rfc9969" rel="noopener noreferrer"&gt;RFC 9969: Report from the IAB Workshop on AI-CONTROL&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://www.rfc-editor.org/rfc/rfc10008" rel="noopener noreferrer"&gt;RFC 10008: The HTTP QUERY Method&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://www.rfc-editor.org/rfc/rfc9405" rel="noopener noreferrer"&gt;RFC 9405: AI Sarcasm Detection: Insult Your AI without Offending It&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://www.rfc-editor.org/rfc/rfc748" rel="noopener noreferrer"&gt;RFC 748: Telnet randomly-lose option&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://www.rfc-editor.org/rfc/rfc3261" rel="noopener noreferrer"&gt;RFC 3261: SIP: Session Initiation Protocol&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Stands on
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;a href="https://www.ietf.org/process/rfcs/" rel="noopener noreferrer"&gt;IETF: About RFCs&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://www.anthropic.com/engineering/effective-harnesses-for-long-running-agents" rel="noopener noreferrer"&gt;Anthropic: Effective harnesses for long-running agents (26 November 2025)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://www.anthropic.com/engineering/building-agents-with-the-claude-agent-sdk" rel="noopener noreferrer"&gt;Anthropic: Building agents with the Claude Agent SDK (29 September 2025)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://www.ietf.org/about/introduction/" rel="noopener noreferrer"&gt;IETF: Introduction to the IETF&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://datatracker.ietf.org/" rel="noopener noreferrer"&gt;IETF Datatracker&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://modelcontextprotocol.io/docs/getting-started/intro" rel="noopener noreferrer"&gt;Model Context Protocol: What is MCP?&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://arxiv.org/abs/2005.11401" rel="noopener noreferrer"&gt;Patrick Lewis et al., Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks (NeurIPS 2020) (2020)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://www.emvco.com/emv-technologies/3-d-secure/" rel="noopener noreferrer"&gt;EMVCo: EMV 3-D Secure Protocol and Core Functions Specification v2.0.0 (October 2016), sections 5.7 and 6.2; documents at emvco.com&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://github.com/golang-jwt/jwt" rel="noopener noreferrer"&gt;golang-jwt/jwt: a Go implementation of JSON Web Tokens (GitHub)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://github.com/auth0/node-jsonwebtoken" rel="noopener noreferrer"&gt;auth0/node-jsonwebtoken: an implementation of JSON Web Tokens (GitHub)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://emvco.com/wp-content/uploads/news/EMV-3DS-PR_FINAL.pdf" rel="noopener noreferrer"&gt;EMVCo: EMV 3-D Secure Protocol and Core Functions Specification v2.1.0 released (press release, 31 October 2017)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://www.youtube.com/playlist?list=PLowKtXNTBypH19whXTVoG3oKSuOcw_XeW" rel="noopener noreferrer"&gt;Ben Eater: Networking tutorial (YouTube playlist, a 13-part series)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://en.wikipedia.org/wiki/Lynx_(web_browser)" rel="noopener noreferrer"&gt;Lynx (web browser), Wikipedia&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://en.wikipedia.org/wiki/Lou_Montulli" rel="noopener noreferrer"&gt;Lou Montulli, Wikipedia&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://www.rfc-editor.org/rfc-index.xml" rel="noopener noreferrer"&gt;RFC Editor: rfc-index.xml&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://datatracker.ietf.org/wg/agentproto/about/" rel="noopener noreferrer"&gt;IETF: Agent Communication Protocols (agentproto) charter, October 2026&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://datatracker.ietf.org/doc/draft-rosenberg-aiproto-framework/" rel="noopener noreferrer"&gt;J. Rosenberg and C. Jennings: Framework, Use Cases and Requirements for AI Agent Protocols (Internet-Draft, October 2025)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://datatracker.ietf.org/wg/aipref/about/" rel="noopener noreferrer"&gt;IETF: AI Preferences (aipref) working group&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://modelcontextprotocol.io/community/sep-guidelines" rel="noopener noreferrer"&gt;Model Context Protocol: SEP guidelines&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://modelcontextprotocol.io/specification/2026-07-28/basic/authorization" rel="noopener noreferrer"&gt;Model Context Protocol: Authorization (specification 2026-07-28)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://datatracker.ietf.org/doc/draft-ietf-wimse-aims/" rel="noopener noreferrer"&gt;P. Kasselman et al.: AI Identity Management System (Internet-Draft draft-ietf-wimse-aims-01, 2 November 2026)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://www.ietf.org/meeting/127/" rel="noopener noreferrer"&gt;IETF 127 San Francisco&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://rfc-graph.hayatibis.dev" rel="noopener noreferrer"&gt;rfc-graph&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://github.com/hayatibis/rfc-graph" rel="noopener noreferrer"&gt;rfc-graph (GitHub)&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;strong&gt;Notes&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The Internet Engineering Task Force. In its own words it “makes voluntary standards that are often adopted by Internet users, network operators, and equipment vendors”. Its mission statement, RFC 3935: “The goal of the IETF is to make the Internet work better.” And it’s open: “Any interested person can participate in the work.”&lt;/li&gt;
&lt;li&gt;In EMVCo’s words, EMV 3-D Secure “is a messaging protocol that promotes frictionless consumer authentication when making card-not-present (CNP) e-commerce purchases”. EMVCo calls itself “the global technical body that facilitates the worldwide interoperability and acceptance of secure payment transactions”. It released the 2.0.0 specification in October 2016 and 2.1.0 on 31 October 2017.&lt;/li&gt;
&lt;li&gt;ACS is the Access Control Server. The specification’s glossary: “A component that operates in the Issuer Domain, that verifies whether authentication is available for a card number and device type, and authenticates specific Cardholders.”&lt;/li&gt;
&lt;li&gt;He’s also the reason for the  tag. Not everything from 1994 aged as well as the cookie.&lt;/li&gt;
&lt;li&gt;In its own words, the RFC Editor “is made up of several different groups who work together to edit, publish, and archive RFCs”.&lt;/li&gt;
&lt;li&gt;The IETF Datatracker “is the day-to-day front-end to the IETF database for people who work on IETF standards”.&lt;/li&gt;
&lt;li&gt;Early RFCs have almost no recorded references, so the “RFC nnnn” names in their text are drawn as edges too. RFC 1 refers to nothing; what it started shows up on the other side.&lt;/li&gt;
&lt;li&gt;MCP, in its own docs: “an open-source standard for connecting AI applications to external systems”. RAG, retrieval-augmented generation, comes from a 2020 paper on models “which combine pre-trained parametric and non-parametric memory for language generation”.&lt;/li&gt;
&lt;li&gt;The Internet Architecture Board. Its charter, RFC 2850: it “is chartered both as a committee of the IETF and as an advisory body of the Internet Society”, and “a major role of the IAB is long range planning and coordination between different areas of IETF activity”.&lt;/li&gt;
&lt;li&gt;Unless you count RFC 9405, “AI Sarcasm Detection: Insult Your AI without Offending It”, published on 1 April 2023. The first April 1st RFC was RFC 748, “Telnet randomly-lose option”, in 1978, and RFC 8700 says they “have a large following”.&lt;/li&gt;
&lt;li&gt;Anthropic describes its Claude Agent SDK as “a powerful, general-purpose agent harness adept at coding, as well as other tasks that require the model to use tools to gather context, plan, and execute”. It’s “the agent harness that powers Claude Code”.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;A new essay every Sunday: &lt;a href="https://buttondown.com/hayatibis" rel="noopener noreferrer"&gt;get it by email&lt;/a&gt;. If you'd like more of these, you can support the writing on &lt;a href="https://www.patreon.com/cw/hayatibis" rel="noopener noreferrer"&gt;Patreon&lt;/a&gt;, or &lt;a href="https://buymeacoffee.com/hayatibis" rel="noopener noreferrer"&gt;buy me a coffee&lt;/a&gt; once.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>networking</category>
      <category>ai</category>
    </item>
    <item>
      <title>Nobody asked for this</title>
      <dc:creator>Hayati</dc:creator>
      <pubDate>Sun, 08 Nov 2026 06:25:41 +0000</pubDate>
      <link>https://dev.to/hayatibis/nobody-asked-for-this-2be5</link>
      <guid>https://dev.to/hayatibis/nobody-asked-for-this-2be5</guid>
      <description>&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://hayatibis.dev/writing/ask-before-you-build" rel="noopener noreferrer"&gt;hayatibis.dev&lt;/a&gt;, where the figures move and the toys are interactive.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;I’ve run into the gap between an idea and what gets built many times. An illustration:&lt;/p&gt;

&lt;p&gt;A dental clinic finds a freelance developer through a friend and asks for “an online booking system”. The developer builds a calendar, patient records and an admin panel. At the handover the clinic says “we didn’t ask for this”. Their real problem was patients who don’t show up, chairs sitting empty in the middle of the day. A reminder sent the day before would have solved most of it.&lt;/p&gt;

&lt;p&gt;In a product company, again as an illustration, the same gap comes in other clothes. Sales asks for an “export to Excel” button, and the team builds a filtered export on every table. What sales wanted was a list, every Monday, of the customers whose usage dropped, so they’d know whom to call.&lt;/p&gt;

&lt;p&gt;Nobody said anything misleading, but the meaning got lost on the way.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffw939q38yqcpyu3dvoni.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffw939q38yqcpyu3dvoni.png" alt="Illustrative. After the tree swing cartoon engineers have passed around for decades, redrawn for the clinic." width="800" height="249"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Illustrative. After the tree swing cartoon engineers have passed around for decades, redrawn for the clinic.&lt;/em&gt; (&lt;a href="https://hayatibis.dev/writing/ask-before-you-build" rel="noopener noreferrer"&gt;interactive version&lt;/a&gt;)&lt;/p&gt;

&lt;h2&gt;
  
  
  Why it shows at the end
&lt;/h2&gt;

&lt;p&gt;The misunderstanding happens at the start, but it only shows at the end, so the last person in the chain pays for it. Even a contract usually writes down the sentence that was asked for, not the need behind it.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F417tkz3hjvh8e34l915e.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F417tkz3hjvh8e34l915e.png" alt="Illustrative. The same request passes through four hands. Without the questions, the sentence survives and the need doesn’t: every hand builds a little further from it, and the agent’s green checks only prove it built what it was told. Ask first, at the clinic, and the need travels with the work as an example the clinic approved and a test can check." width="799" height="261"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Illustrative. The same request passes through four hands. Without the questions, the sentence survives and the need doesn’t: every hand builds a little further from it, and the agent’s green checks only prove it built what it was told. Ask first, at the clinic, and the need travels with the work as an example the clinic approved and a test can check.&lt;/em&gt; (&lt;a href="https://hayatibis.dev/writing/ask-before-you-build" rel="noopener noreferrer"&gt;interactive version&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;Fred Brooks saw this in 1986. In &lt;a href="https://worrydream.com/refs/Brooks_1986_-_No_Silver_Bullet.pdf" rel="noopener noreferrer"&gt;No Silver Bullet&lt;/a&gt;, his essay on why no single tool would make software ten times easier to build, he writes: “The hardest single part of building a software system is deciding precisely what to build.” A paragraph later he adds that clients “usually do not know what questions must be answered”.&lt;/p&gt;

&lt;p&gt;So someone has to ask them. Most of us do ask, just too late, in the design review or at the handover.&lt;/p&gt;

&lt;h2&gt;
  
  
  The right time, the right place, the right questions
&lt;/h2&gt;

&lt;p&gt;The right time is before anyone talks about a solution. Once “a booking system” is on the table, every question starts circling it.&lt;/p&gt;

&lt;p&gt;The right place is the desk of the person who does the job. Watch how the clinic’s receptionist keeps appointments today, and how they notice a patient who didn’t come, with whatever they use now.&lt;/p&gt;

&lt;p&gt;The questions are plain:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  What decision will you make when you open this screen?&lt;/li&gt;
&lt;li&gt;  How do you make that decision today?&lt;/li&gt;
&lt;li&gt;  Can you show me a real case from last week?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;At the decision points, the questions that come up while building aside, I try to stay with one sentence:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzdcnztb06oo1hxrlljpi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fzdcnztb06oo1hxrlljpi.png" alt="𝕏kache @yacineMTB" width="800" height="164"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;you can outsource your thinking&lt;br&gt;
but you cannot outsource your understanding&lt;/p&gt;

&lt;p&gt;— &lt;a href="https://x.com/yacineMTB/status/2018886083120153046" rel="noopener noreferrer"&gt;kache (@yacineMTB)&lt;/a&gt;, 4 February 2026&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;In April Karpathy said in a &lt;a href="https://www.youtube.com/watch?v=96jN2OCOfLs" rel="noopener noreferrer"&gt;talk at Sequoia&lt;/a&gt; that he keeps thinking about it “like every other day”, and a day after the video went up he &lt;a href="https://x.com/karpathy/status/2049907410303865030" rel="noopener noreferrer"&gt;quoted it&lt;/a&gt; as the quote he’d been citing a lot recently. In the talk he adds: “the LLMs certainly don’t excel at understanding. You still are uniquely in charge of that.” You can hand the thinking to an agent; you can’t hand over the understanding. An agent writes the calendar in a few hours. Understanding that the clinic’s problem is empty chairs is something else.&lt;/p&gt;

&lt;p&gt;Then turn the answers into a few concrete examples the people who asked have approved, like “every patient with an appointment tomorrow gets a message today at 18:00” (illustrative), and turn the examples into tests. The argument stops being about who said what and becomes about whether the example passes.&lt;/p&gt;

&lt;p&gt;We used to work hard to keep the developer’s part limited to technical questions. But times have changed: the person who designs a feature and the person who builds it are slowly becoming the same person. I don’t know if that separation is still needed; the developer doesn’t seem to be a separate role any more. So asking the question and understanding the answer land on the same person.&lt;/p&gt;

&lt;h2&gt;
  
  
  When the last hand is a loop
&lt;/h2&gt;

&lt;p&gt;More and more often the hand that builds is an agent. First came vibe coding, where you describe what you want and the model writes it, then agents writing and reviewing while a person steers. Now we talk about loops that run for hours on a goal without anyone in between.&lt;/p&gt;

&lt;p&gt;Karpathy’s &lt;a href="https://github.com/karpathy/autoresearch" rel="noopener noreferrer"&gt;autoresearch&lt;/a&gt; is the cleanest example I know. The idea, in its own words: “give an AI agent a small but real LLM training setup and let it experiment autonomously overnight.” The agent changes the training code, trains for five minutes, checks if a single metric got better, keeps or discards the change, and repeats.[1] “You wake up in the morning to a log of experiments and (hopefully) a better model.”&lt;/p&gt;

&lt;p&gt;It works because the task is verifiable. Karpathy wrote about this in a short post, &lt;a href="https://karpathy.bearblog.dev/verifiability/" rel="noopener noreferrer"&gt;Verifiability&lt;/a&gt;: for a task to be automated this way, the environment has to be resettable, efficient and “rewardable (there is some automated process to reward any specific attempt that was made)”. He sums it up in two lines: “Software 1.0 easily automates what you can specify. Software 2.0 easily automates what you can verify.”&lt;/p&gt;

&lt;p&gt;Now put the clinic’s booking system in that loop. The tests pass, the calendar shows every appointment, the lint is green. But whether the chairs stay empty can’t be measured overnight; the answer comes weeks later, at the clinic.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F18n6riwpwr4gbzdaurjj.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F18n6riwpwr4gbzdaurjj.png" alt="Illustrative numbers. autoresearch trains for five minutes per experiment, about 12 an hour and about 100 while you sleep (its README), and keeps a change only if val_bpb goes down. Switch to the clinic and the same tireless loop has only the tests to go by: they stay green all night while it adds screens, and the empty chairs never reach its log." width="800" height="344"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Illustrative numbers. autoresearch trains for five minutes per experiment, about 12 an hour and about 100 while you sleep (its README), and keeps a change only if val_bpb goes down. Switch to the clinic and the same tireless loop has only the tests to go by: they stay green all night while it adds screens, and the empty chairs never reach its log.&lt;/em&gt; (&lt;a href="https://hayatibis.dev/writing/ask-before-you-build" rel="noopener noreferrer"&gt;interactive version&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;A loop that &lt;a href="https://hayatibis.dev/writing/its-not-a-sprint-its-a-marathon" rel="noopener noreferrer"&gt;never gets tired&lt;/a&gt; keeps chasing the question it was given. If the question is wrong, it grows the wrong answer with the same patience.&lt;/p&gt;

&lt;p&gt;When I vibe code a part I don’t understand, building something many people will use and get value from is, I think, very hard.&lt;/p&gt;

&lt;h2&gt;
  
  
  Can the agent ask instead?
&lt;/h2&gt;

&lt;p&gt;Partly. This essay is a small example. While I was preparing it, an agent asked me one question at a time, because a skill file someone wrote tells it to ask first and build later. Nothing it asked changed my mind, but it let the idea cook and mature. The answers, what I’d seen and what bothered me about it, it couldn’t find anywhere; they had to come from me.&lt;/p&gt;

&lt;p&gt;So an agent can ask the right questions if we show it how. Unless someone brings the problem into its context, it can’t go to the clinic and ask the receptionist the right question, for now :)&lt;/p&gt;

&lt;h2&gt;
  
  
  Where the work is going
&lt;/h2&gt;

&lt;p&gt;Karpathy’s MenuGen story is a good example here. He often got stuck on restaurant menus, not knowing what the dishes were, so he built an app that shows a picture of each dish when you photograph the menu, without writing a line of it himself: &lt;a href="https://karpathy.bearblog.dev/vibe-coding-menugen/" rel="noopener noreferrer"&gt;MenuGen&lt;/a&gt;. In the same talk he told the rest. Later it was enough to give the photo to Gemini and ask Nano Banana to draw the dishes onto the menu; the model gave back the same photo of the menu with the dishes rendered into it. In his words, “all of my MenuGen is spurious”, and “that app shouldn’t exist”.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgofgx9ue46rijflrtt76.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgofgx9ue46rijflrtt76.png" alt="Karpathy’s story from his Sequoia talk, redrawn; the menu and the drawings are illustrative. The app went away, and the need stayed: seeing what a dish looks like." width="799" height="442"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Karpathy’s story from his Sequoia talk, redrawn; the menu and the drawings are illustrative. The app went away, and the need stayed: seeing what a dish looks like.&lt;/em&gt; (&lt;a href="https://hayatibis.dev/writing/ask-before-you-build" rel="noopener noreferrer"&gt;interactive version&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;In the same talk he describes the LLM as a new kind of computer. Today neural nets run “virtualized on existing computers”; one day that may flip, and “the neural net becomes kind of like the host process” with the CPUs as the co-processor. Going on from MenuGen, he says “a lot of this code shouldn’t exist and it’s just neural networks doing most of the work”.&lt;/p&gt;

&lt;p&gt;The app went away, but the need stayed: seeing what a dish looks like. The clinic’s problem wasn’t a booking system either; it was empty chairs.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What we build can change, and like MenuGen it may one day not be needed at all; what doesn’t change is understanding what’s needed.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;As writing code gets cheaper, the part before it gets more valuable: asking at the right time and in the right place, and turning the answer into something a loop can check.&lt;/p&gt;

&lt;h2&gt;
  
  
  The card
&lt;/h2&gt;

&lt;p&gt;Five lines to fill before work starts, by a person or by an agent, a small &lt;a href="https://hayatibis.dev/writing/software-moves-with-checklists" rel="noopener noreferrer"&gt;checklist&lt;/a&gt;. I filled this one in with the clinic’s request; tap a line to call it out.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Focezfiwkcgs0x9owmplo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Focezfiwkcgs0x9owmplo.png" alt="Fig. 5 · Illustrative. A card filled in with the clinic's request. The fourth line is written so a test can check it." width="800" height="350"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Fig. 5 · Illustrative. A card filled in with the clinic's request. The fourth line is written so a test can check it.&lt;/em&gt; (&lt;a href="https://hayatibis.dev/writing/ask-before-you-build" rel="noopener noreferrer"&gt;interactive version&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;The fourth line is also a very good instruction you can give an agent: it turns “build a booking system” into something it can verify.&lt;/p&gt;

&lt;p&gt;Back at the clinic, the calendar worked, and nobody had asked for it. When did your agent last ask you, without you telling it to, who is going to use this, and for what?&lt;/p&gt;




&lt;h2&gt;
  
  
  Stands on
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;a href="https://worrydream.com/refs/Brooks_1986_-_No_Silver_Bullet.pdf" rel="noopener noreferrer"&gt;Frederick P. Brooks, Jr., No Silver Bullet: Essence and Accidents of Software Engineering (Proceedings of the IFIP Tenth World Computing Conference, pp. 1069–76) (1986)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://x.com/yacineMTB/status/2018886083120153046" rel="noopener noreferrer"&gt;kache (@yacineMTB) on X (4 February 2026)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://x.com/karpathy/status/2049907410303865030" rel="noopener noreferrer"&gt;Andrej Karpathy on X, quoting it (30 April 2026)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://www.youtube.com/watch?v=96jN2OCOfLs" rel="noopener noreferrer"&gt;Andrej Karpathy: From Vibe Coding to Agentic Engineering, with Stephanie Zhan (Sequoia AI Ascent, 20 April 2026; video 29 April 2026)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://karpathy.bearblog.dev/vibe-coding-menugen/" rel="noopener noreferrer"&gt;Andrej Karpathy: Vibe coding MenuGen (27 April 2025)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://karpathy.bearblog.dev/verifiability/" rel="noopener noreferrer"&gt;Andrej Karpathy: Verifiability (17 November 2025)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://github.com/karpathy/autoresearch" rel="noopener noreferrer"&gt;Andrej Karpathy: autoresearch (GitHub, March 2026)&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;strong&gt;Notes&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The metric is val_bpb, validation bits per byte, and lower is better. The human edits one file, program.md, which tells the agent how to run the research; the agent edits train.py.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;A new essay every Sunday: &lt;a href="https://buttondown.com/hayatibis" rel="noopener noreferrer"&gt;get it by email&lt;/a&gt;. If you'd like more of these, you can support the writing on &lt;a href="https://www.patreon.com/cw/hayatibis" rel="noopener noreferrer"&gt;Patreon&lt;/a&gt;, or &lt;a href="https://buymeacoffee.com/hayatibis" rel="noopener noreferrer"&gt;buy me a coffee&lt;/a&gt; once.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>softwareengineering</category>
      <category>ai</category>
    </item>
    <item>
      <title>It's not a sprint, it's a marathon</title>
      <dc:creator>Hayati</dc:creator>
      <pubDate>Sun, 01 Nov 2026 06:33:40 +0000</pubDate>
      <link>https://dev.to/hayatibis/its-not-a-sprint-its-a-marathon-4p4</link>
      <guid>https://dev.to/hayatibis/its-not-a-sprint-its-a-marathon-4p4</guid>
      <description>&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://hayatibis.dev/writing/its-not-a-sprint-its-a-marathon" rel="noopener noreferrer"&gt;hayatibis.dev&lt;/a&gt;, where the figures move and the toys are interactive.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Years ago I had English practice sessions with a British friend, Andrew. After the second one I told him I didn’t think I’d reached the level I wanted. He said: “It’s not a sprint, it’s a marathon.”&lt;/p&gt;

&lt;p&gt;It stuck with me, because it’s true for most things in life. Learning a language, sport, a career. It’s also true for software, which is funny, because software named its steady unit of work after the dash.&lt;/p&gt;

&lt;h2&gt;
  
  
  The irony in the word “sprint”
&lt;/h2&gt;

&lt;p&gt;The &lt;a href="https://scrumguides.org/scrum-guide.html" rel="noopener noreferrer"&gt;Scrum Guide&lt;/a&gt;, the short official definition of Scrum by its two creators, says: “Sprints are the heartbeat of Scrum, where ideas are turned into value.” They are “fixed length events of one month or less to create consistency.”&lt;/p&gt;

&lt;p&gt;A heartbeat is the opposite of a sprint. It’s the pace you keep for your whole life. The name is a sprint, but the definition really describes a rhythm.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://agilemanifesto.org/principles.html" rel="noopener noreferrer"&gt;Agile Manifesto&lt;/a&gt; had already said it plainly in 2001: “Agile processes promote sustainable development. The sponsors, developers, and users should be able to maintain a constant pace indefinitely.”&lt;/p&gt;

&lt;p&gt;These days we’ve left Scrum and the agile ceremonies behind and work from a kanban to-do board. The name on the board changes nothing, though. We can’t work day and night under any method. What I want is systems that protect the balance between work and life, and that can also protect themselves without someone standing over them.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a marathon pace looks like
&lt;/h2&gt;

&lt;p&gt;The example I can show is this site. One essay a week, Sunday morning, not five in a burst. The Sunday run starts at 09:07 on its own, rebuilds the site and sends the copies out. If a draft still has a gap in it, the production build refuses to ship it. Nobody has to be awake for that.&lt;/p&gt;

&lt;p&gt;That’s what I mean by a system that protects itself. It isn’t my willpower that keeps the pace, really; it’s the parts of the system.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8yts5vlns4ubvxtw29qr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F8yts5vlns4ubvxtw29qr.png" alt="Illustrative numbers. A small mill engine with a Watt flyball governor. Turn up the steam, the way agents push harder, and with the governor on the balls swing out, lift the sleeve, and the bell crank and the long drag link close the throttle: the flywheel only goes from 60 to 71 or 74 rpm. Take the governor off and the same push runs it up to 300 rpm; at 1,200 the flywheel and the arms can’t hold, and the engine flies apart. Nobody stands at the valve; the parts keep the pace. The drawing turns at half speed, and past a point it can’t show how fast." width="800" height="688"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Illustrative numbers. A small mill engine with a Watt flyball governor. Turn up the steam, the way agents push harder, and with the governor on the balls swing out, lift the sleeve, and the bell crank and the long drag link close the throttle: the flywheel only goes from 60 to 71 or 74 rpm. Take the governor off and the same push runs it up to 300 rpm; at 1,200 the flywheel and the arms can’t hold, and the engine flies apart. Nobody stands at the valve; the parts keep the pace. The drawing turns at half speed, and past a point it can’t show how fast.&lt;/em&gt; (&lt;a href="https://hayatibis.dev/writing/its-not-a-sprint-its-a-marathon" rel="noopener noreferrer"&gt;interactive version&lt;/a&gt;)&lt;/p&gt;

&lt;h2&gt;
  
  
  Agents never get tired
&lt;/h2&gt;

&lt;p&gt;Andrej Karpathy wrote a long &lt;a href="https://x.com/karpathy/status/2015883857489522876" rel="noopener noreferrer"&gt;set of notes&lt;/a&gt; in January after weeks of coding with Claude. One part is about tenacity: “They never get tired, they never get demoralized, they just keep going and trying things where a person would have given up long ago to fight another day.” And then: “You realize that stamina is a core bottleneck to work and that with LLMs in hand it has been dramatically increased.”&lt;/p&gt;

&lt;p&gt;So the agent can sprint all day. We can’t, and the work we keep is exactly the part that needs a rested head: reading, reviewing, deciding, owning the thing next year.&lt;/p&gt;

&lt;p&gt;We have to move at the speed agents produce, but at a speed we can accept, and without breaking the systems they touch. That means stopping the agent’s mistakes before they reach anything, instead of catching them by hand at midnight.&lt;/p&gt;

&lt;p&gt;Karpathy names those mistakes too. “The most common category is that the models make wrong assumptions on your behalf and just run along with them without checking.” They overcomplicate, bloat abstractions and don’t clean up dead code. Forrest Chang turned these notes into a &lt;a href="https://github.com/forrestchang/andrej-karpathy-skills" rel="noopener noreferrer"&gt;single CLAUDE.md&lt;/a&gt; that you can install as a Claude skill[1]. It’s a small file, and it does the standing-over for you.&lt;/p&gt;

&lt;p&gt;But the point isn’t only the code. A healthy setup is an orchestration: instructions the agent reads, tests that pin behaviour, a gate before production, a schedule, and a person who reviews at a pace they can keep. Each part is healthy on its own and they work together. Take one out and the others have to sprint to cover it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The work didn’t shrink
&lt;/h2&gt;

&lt;p&gt;Since agents came into our lives, our workload has gone up enormously. We still have to stay regulated and keep to a sustainable level. I’m not the only one who sees it.&lt;/p&gt;

&lt;p&gt;Aruna Ranganathan and Xingqi Maggie Ye studied 200 employees at a US technology company from April to December 2025 and wrote it up in Harvard Business Review as “&lt;a href="https://hbr.org/2026/02/ai-doesnt-reduce-work-it-intensifies-it" rel="noopener noreferrer"&gt;AI Doesn’t Reduce Work—It Intensifies It&lt;/a&gt;”. They saw people “manually writing code while AI generated an alternative version, running multiple agents in parallel”. The result was “a continual switching of attention, frequent checking of AI outputs, and a growing number of open tasks.”&lt;/p&gt;

&lt;p&gt;Karpathy says the same about himself: “the main effect is that I do a lot more than I was going to do”. &lt;a href="https://simonwillison.net/2026/Feb/9/ai-intensifies-work/" rel="noopener noreferrer"&gt;Simon Willison&lt;/a&gt;, a &lt;a href="https://arxiv.org/abs/2510.07435" rel="noopener noreferrer"&gt;survey of 442 developers&lt;/a&gt; and Google’s &lt;a href="https://dora.dev/research/2025/dora-report/" rel="noopener noreferrer"&gt;DORA report&lt;/a&gt; land in the same place: the output goes up, so does the load, and AI amplifies the strengths and weaknesses a team already has. A team that already sprints will sprint harder.&lt;/p&gt;

&lt;h2&gt;
  
  
  Every developer is a condom now
&lt;/h2&gt;

&lt;p&gt;In July a joke went around X. Ariel Kwiat wrote:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpu68txnxquti4rjvprsi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpu68txnxquti4rjvprsi.png" alt="𝕏Ariel @ArielKwiat" width="798" height="131"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;𝕏Ariel @ArielKwiat&lt;/em&gt; (&lt;a href="https://hayatibis.dev/writing/its-not-a-sprint-its-a-marathon" rel="noopener noreferrer"&gt;interactive version&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;Within a day other engineers were saying it about their own agents.&lt;/p&gt;

&lt;p&gt;It’s funny because it’s half true. We are the thin layer between what the agent writes and production. But a condom you have to put on by hand, tired, at one in the morning, is not a great protection plan :) I’d rather put that layer in the system: the skill file, the tests, the gate. Then the human can review on Monday morning, rested. And with workflow engineering, a world is coming where we aren’t the reviewer at every stage. By then the protection has to be in the system already.&lt;/p&gt;

&lt;p&gt;A paper is going around X these days as the death certificate of programming. Its first title really was “The End of Software Engineering”. Six days later its author, Zhenfeng Cao, renamed it “&lt;a href="https://arxiv.org/abs/2606.05608" rel="noopener noreferrer"&gt;Agentic Software&lt;/a&gt;”, and the conclusion now says: “The old software engineering is not ending; it is growing into something larger.” The core idea is still close to mine, though: human capacity for complexity is “essentially constant”, code becomes “a transient artifact”, and people become “intent architects, agent coordinators, and outcome auditors”. Writing code has stopped being human work; what’s left is intent, and running a system that stays healthy. The EvoClaw result the paper cites backs that up: agents’ scores drop “from &amp;gt;80% on isolated tasks to at most 38% in continuous settings”.&lt;/p&gt;

&lt;p&gt;AI really has changed our work, and there’s no point pretending it hasn’t. Building and running that system will be the job of the professionals in that field, until AI takes this work over too.&lt;/p&gt;

&lt;h2&gt;
  
  
  Back to the second lesson
&lt;/h2&gt;

&lt;p&gt;Andrew was right after the second lesson, and he’d be right after the second week with a new agent too. What pace could you keep for a year, and which part of your system keeps it when you’re not looking?&lt;/p&gt;




&lt;h2&gt;
  
  
  Stands on
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;a href="https://agilemanifesto.org/principles.html" rel="noopener noreferrer"&gt;Principles behind the Agile Manifesto (2001)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://scrumguides.org/scrum-guide.html" rel="noopener noreferrer"&gt;Ken Schwaber and Jeff Sutherland: The Scrum Guide (2020)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://x.com/karpathy/status/2015883857489522876" rel="noopener noreferrer"&gt;Andrej Karpathy: notes from claude coding (X, 26 January 2026)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://github.com/forrestchang/andrej-karpathy-skills" rel="noopener noreferrer"&gt;Forrest Chang: andrej-karpathy-skills, a CLAUDE.md from Karpathy's notes&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://hbr.org/2026/02/ai-doesnt-reduce-work-it-intensifies-it" rel="noopener noreferrer"&gt;Aruna Ranganathan and Xingqi Maggie Ye: AI Doesn't Reduce Work—It Intensifies It (Harvard Business Review, 2026)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://simonwillison.net/2026/Feb/9/ai-intensifies-work/" rel="noopener noreferrer"&gt;Simon Willison: AI intensifies work (2026)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://arxiv.org/abs/2510.07435" rel="noopener noreferrer"&gt;Zixuan Feng, Sadia Afroz, Anita Sarma, From Gains to Strains: Modeling Developer Burnout with GenAI Adoption (2025)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://dora.dev/research/2025/dora-report/" rel="noopener noreferrer"&gt;DORA: State of AI-assisted Software Development 2025&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://x.com/ArielKwiat/status/2080283937406890040" rel="noopener noreferrer"&gt;Ariel Kwiat on X (23 July 2026)&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;strong&gt;Notes&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;It has four rules: think before coding, simplicity first, surgical changes, and goal-driven execution (“Define success criteria. Loop until verified.”).&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;A new essay every Sunday: &lt;a href="https://buttondown.com/hayatibis" rel="noopener noreferrer"&gt;get it by email&lt;/a&gt;. If you'd like more of these, you can support the writing on &lt;a href="https://www.patreon.com/cw/hayatibis" rel="noopener noreferrer"&gt;Patreon&lt;/a&gt;, or &lt;a href="https://buymeacoffee.com/hayatibis" rel="noopener noreferrer"&gt;buy me a coffee&lt;/a&gt; once.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>softwareengineering</category>
      <category>ai</category>
    </item>
    <item>
      <title>Make it work, make it right, make it fast</title>
      <dc:creator>Hayati</dc:creator>
      <pubDate>Sun, 25 Oct 2026 07:08:54 +0000</pubDate>
      <link>https://dev.to/hayatibis/make-it-work-make-it-right-make-it-fast-1im3</link>
      <guid>https://dev.to/hayatibis/make-it-work-make-it-right-make-it-fast-1im3</guid>
      <description>&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://hayatibis.dev/writing/make-it-work-make-it-right-make-it-fast" rel="noopener noreferrer"&gt;hayatibis.dev&lt;/a&gt;, where the figures move and the toys are interactive.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;This line has stuck in a corner of my mind for years. I used to read a lot of Medium posts and books like that, and I’ve shared this order with plenty of people since. When I asked myself where I’d picked it up and when it became a habit, I dug a little deeper and found it credited to Kent Beck. It’s actually older. Stephen Johnson and Brian Kernighan wrote it in &lt;em&gt;Byte&lt;/em&gt; in 1983, about C: “the strategy is definitely: first make it work, then make it right, and, finally, make it fast.”&lt;/p&gt;

&lt;p&gt;People quote it as three things to do. I read it as an order, where each step has its own definition of done and makes the next one safe.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F4sj9hihd4iio2srwjksq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F4sj9hihd4iio2srwjksq.png" alt="Fig. 1 · Three gates, each with its own 'done'. Fast is a loop of measuring. The shortcut from working code straight to fast code is the one to avoid." width="799" height="236"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Fig. 1 · Three gates, each with its own 'done'. Fast is a loop of measuring. The shortcut from working code straight to fast code is the one to avoid.&lt;/em&gt; (&lt;a href="https://hayatibis.dev/writing/make-it-work-make-it-right-make-it-fast" rel="noopener noreferrer"&gt;interactive version&lt;/a&gt;)&lt;/p&gt;

&lt;h2&gt;
  
  
  Make it work
&lt;/h2&gt;

&lt;p&gt;Done means the tests for the behaviour you need are passing. It doesn’t have to be pretty, and it certainly doesn’t have to be fast. It has to be correct, and provably so, because the next step depends on those tests.&lt;/p&gt;

&lt;h2&gt;
  
  
  Make it right
&lt;/h2&gt;

&lt;p&gt;Now you clean up, and the tests stay green while you do. That is refactoring in the strict sense from &lt;a href="https://hayatibis.dev/writing/a-refactor-without-tests-is-a-rewrite" rel="noopener noreferrer"&gt;principle 01&lt;/a&gt;: new structure, same behaviour.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://wiki.c2.com/?MakeItWorkMakeItRightMakeItFast" rel="noopener noreferrer"&gt;C2 wiki&lt;/a&gt; has a long argument about what “right” means. Some say clean design, others say the edge cases handled properly. I think it’s both: the special cases covered, and code you’d be happy to change next month.&lt;/p&gt;

&lt;h2&gt;
  
  
  Make it fast
&lt;/h2&gt;

&lt;p&gt;Two people who earned the right to say it have already warned us about this step.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://doi.org/10.1145/356635.356640" rel="noopener noreferrer"&gt;Donald Knuth, in 1974&lt;/a&gt;: “We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil. Yet we should not pass up our opportunities in that critical 3%.” The second sentence usually gets left out. &lt;strong&gt;Knuth wasn’t against optimizing. He was against guessing where to optimize.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.lysator.liu.se/c/pikestyle.html" rel="noopener noreferrer"&gt;Rob Pike, in 1989&lt;/a&gt;: “You can’t tell where a program is going to spend its time. Bottlenecks occur in surprising places, so don’t try to second guess and put in a speed hack until you’ve proven that’s where the bottleneck is.” His next rule is a single word: “Measure.”&lt;/p&gt;

&lt;p&gt;Try it yourself:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fshk9mz0xpqgmoijrrzev.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fshk9mz0xpqgmoijrrzev.png" alt="Fig. 2 · An illustrative profile, not a real measurement. The shape is the point: one part overwhelms the rest, and it's rarely the one people bet on." width="799" height="301"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Fig. 2 · An illustrative profile, not a real measurement. The shape is the point: one part overwhelms the rest, and it's rarely the one people bet on.&lt;/em&gt; (&lt;a href="https://hayatibis.dev/writing/make-it-work-make-it-right-make-it-fast" rel="noopener noreferrer"&gt;interactive version&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;Once you have a measurement, “fast” becomes a loop: change the hot part, measure again, stop when you hit the target. That last bit matters. Without a target, you never know when you’re done.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why the order matters
&lt;/h2&gt;

&lt;p&gt;Making something fast before it's right is often one of our most obvious mistakes. Clever tricks on top of messy code may not give you anything useful, and in the next change we end up wrestling with them. Trying to make something right before it works has its cost too: you're polishing something that can't do its job yet, which is about as pointless as polishing a torn shoe.&lt;/p&gt;

&lt;p&gt;I went looking for who first said these three steps and ended up with two people writing about C in 1983. More than forty years on, the languages have changed and agents write a lot of the code, but the order hasn’t. When did you last make something fast, and had you measured first?&lt;/p&gt;




&lt;h2&gt;
  
  
  Stands on
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;a href="https://wiki.c2.com/?MakeItWorkMakeItRightMakeItFast" rel="noopener noreferrer"&gt;C2 wiki: Make It Work Make It Right Make It Fast&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  Stephen C. Johnson and Brian W. Kernighan, The C Language and Models for Systems Programming (Byte, August 1983) (1983)&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://doi.org/10.1145/356635.356640" rel="noopener noreferrer"&gt;Donald E. Knuth, Structured Programming with go to Statements (ACM Computing Surveys 6(4)) (1974)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://www.lysator.liu.se/c/pikestyle.html" rel="noopener noreferrer"&gt;Rob Pike: Notes on Programming in C (1989)&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;A new essay every Sunday: &lt;a href="https://buttondown.com/hayatibis" rel="noopener noreferrer"&gt;get it by email&lt;/a&gt;. If you'd like more of these, you can support the writing on &lt;a href="https://www.patreon.com/cw/hayatibis" rel="noopener noreferrer"&gt;Patreon&lt;/a&gt;, or &lt;a href="https://buymeacoffee.com/hayatibis" rel="noopener noreferrer"&gt;buy me a coffee&lt;/a&gt; once.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>softwareengineering</category>
      <category>performance</category>
    </item>
    <item>
      <title>Shipping software with a pilot's checklist</title>
      <dc:creator>Hayati</dc:creator>
      <pubDate>Sun, 18 Oct 2026 10:05:53 +0000</pubDate>
      <link>https://dev.to/hayatibis/shipping-software-with-a-pilots-checklist-4kf4</link>
      <guid>https://dev.to/hayatibis/shipping-software-with-a-pilots-checklist-4kf4</guid>
      <description>&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://hayatibis.dev/writing/software-moves-with-checklists" rel="noopener noreferrer"&gt;hayatibis.dev&lt;/a&gt;, where the figures move and the toys are interactive.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Faywp012zziz855hxhpba.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Faywp012zziz855hxhpba.png" alt="The Model 299, drawn loosely: engines running, gust lock still on. The red streamer is my addition, so you can find the lock." width="" height=""&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The Model 299, drawn loosely: engines running, gust lock still on. The red streamer is my addition, so you can find the lock.&lt;/em&gt; (&lt;a href="https://hayatibis.dev/writing/software-moves-with-checklists" rel="noopener noreferrer"&gt;interactive version&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;I love watching &lt;em&gt;Air Crash Investigation&lt;/em&gt;, and I’d rather hear it in the Turkish dub than in the original, because of the voice of the Turkish dubbing artist &lt;a href="https://www.seslendirme.org/fatih-ozacun/" rel="noopener noreferrer"&gt;Fatih Özacun&lt;/a&gt;. I don’t know where my love of aviation comes from, but I’ve always loved flying, aircraft, air travel, and idly watching a plane heading off into the distance.&lt;/p&gt;

&lt;p&gt;This story could have been one of those episodes. On 30 October 1935, at Wright Field in Ohio, Boeing flew the most advanced bomber anyone had built. The Model 299 climbed, stalled and fell. Two of the five people on board died, the pilot among them.&lt;/p&gt;

&lt;p&gt;The pilot was Major Ployer Hill, the Army Air Corps’ chief of flight testing. Few pilots anywhere had more experience. He had forgotten one small thing: the gust lock[1] was still engaged. A newspaper called the 299 “too much airplane for one man to fly.”&lt;/p&gt;

&lt;p&gt;More training was hard to justify; nobody was going to out-train the Army’s chief test pilot. So a group of test pilots wrote the steps for taxi, takeoff, flight and landing on a card. In Gawande’s account, the 299 then flew 1.8 million miles without an accident, and the Army ordered almost thirteen thousand of them. You know it as the B-17.&lt;/p&gt;

&lt;h2&gt;
  
  
  Two ways to forget
&lt;/h2&gt;

&lt;p&gt;The 299 shows the first: too many steps for one head. A new system, or a migration on a table you’ve never touched. Nothing is routine yet, so everything has to be remembered at once.&lt;/p&gt;

&lt;p&gt;The second is the opposite. The step you have done a thousand times is the one you skip, because skipping it has never hurt. You don’t test the rollback because it worked last time. You assume the flag is off because it usually is.&lt;/p&gt;

&lt;p&gt;Both end with a step that only existed in someone’s head. Engineers need a better place to keep those steps than their own memory.&lt;/p&gt;

&lt;h2&gt;
  
  
  Two kinds of checklist
&lt;/h2&gt;

&lt;p&gt;Daniel Boorman was designing flight-deck checklists at Boeing when Atul Gawande, a surgeon, went to see him while writing &lt;a href="https://atulgawande.com/book/the-checklist-manifesto/" rel="noopener noreferrer"&gt;&lt;em&gt;The Checklist Manifesto&lt;/em&gt;&lt;/a&gt;, a book about why checklists work in cockpits and how they could work in operating rooms. The first thing Boorman asks is which kind of checklist you need.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F00hlrpm829vnr456piec.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F00hlrpm829vnr456piec.png" alt="Fig. 1 · Read-do walks the list one line at a time. Do-confirm works from memory, stops at the pause point, then checks." width="800" height="274"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Fig. 1 · Read-do walks the list one line at a time. Do-confirm works from memory, stops at the pause point, then checks.&lt;/em&gt; (&lt;a href="https://hayatibis.dev/writing/software-moves-with-checklists" rel="noopener noreferrer"&gt;interactive version&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Read-do&lt;/strong&gt;: read the line, then do it. This is for things you do rarely and under stress: the incident runbook, the database restore. You are not expected to remember; you are expected to follow.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Do-confirm&lt;/strong&gt;: do the work from memory, then stop and check it against the list. This is the pull request template and the release check. It trusts your skill and catches the slip.&lt;/p&gt;

&lt;p&gt;Software checklists often fail by being the wrong kind. A pull request template written as twelve numbered steps is a read-do list in a do-confirm moment: nobody opens a PR and follows a template line by line, so people tick the whole thing at the end without reading it. A restore runbook that says “verify the backups are healthy” is a do-confirm list in a read-do moment. At three in the morning you need the exact command, and the runbook only reminds you that one exists.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1fyijc5tfnkvirhroxlq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1fyijc5tfnkvirhroxlq.png" alt="Fig. 2 · Pick the kind for each moment." width="799" height="482"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Fig. 2 · Pick the kind for each moment.&lt;/em&gt; (&lt;a href="https://hayatibis.dev/writing/software-moves-with-checklists" rel="noopener noreferrer"&gt;interactive version&lt;/a&gt;)&lt;/p&gt;

&lt;h2&gt;
  
  
  What makes one work
&lt;/h2&gt;

&lt;p&gt;Boorman’s rules, as Gawande reports them:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;strong&gt;A pause point.&lt;/strong&gt; A checklist belongs to a moment, like before merge or right after a deploy. Not “whenever”.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Killer items.&lt;/strong&gt; His term for the steps that hurt when skipped and get skipped anyway. Everything else goes somewhere else.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Short.&lt;/strong&gt; His rule of thumb is five to nine items. Spend much more than a minute at a pause point and people start shortcutting.&lt;/li&gt;
&lt;li&gt;  &lt;strong&gt;Tested.&lt;/strong&gt; Try it in a rehearsal, then revise it when real use exposes a gap.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;“Short” sounds like it rules out a fifty-step database restore. It doesn’t. The checklist only has to be short enough to use at its pause point; the detailed steps live in the procedure it points to.&lt;/p&gt;

&lt;p&gt;Asaf Degani and Earl Wiener, two human-factors researchers, &lt;a href="https://ntrs.nasa.gov/citations/19910017830" rel="noopener noreferrer"&gt;studied airline checklists for NASA&lt;/a&gt; and added a rule about the answers: a response should give the item’s actual state or value, not the fact that you looked at it. They quote a pilot who answered “checked and set” during taxi and found out on the takeoff roll that the speed bugs were still on the approach setting. His verdict: “‘checked’ and ‘set’ can be said too easily without any sound verification.”&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbbavun4ljmj1ndmkjz9k.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbbavun4ljmj1ndmkjz9k.png" alt="Fig. 3 · Speeds made up for the toy. The story is the one Degani and Wiener quote." width="799" height="361"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Fig. 3 · Speeds made up for the toy. The story is the one Degani and Wiener quote.&lt;/em&gt; (&lt;a href="https://hayatibis.dev/writing/software-moves-with-checklists" rel="noopener noreferrer"&gt;interactive version&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;Software needs one more rule on top of theirs: every item needs a clear condition for done. “Dashboards: watched” means nothing unless someone knows what to watch, for how long, and when to stop the rollout.&lt;/p&gt;

&lt;p&gt;Here is a deploy card written with all of that in mind. The grey lines are checked by the pipeline; they stay on the card so the crew knows they exist. The rest belongs to a person. Tap a line to call it out.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fw53lvhohf7uob8udrmcc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fw53lvhohf7uob8udrmcc.png" alt="Fig. 4 · A deploy card. Grey lines belong to the pipeline, every other line has an owner. The baseline and the thirty minutes are examples: pick your own, and write them down." width="800" height="418"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Fig. 4 · A deploy card. Grey lines belong to the pipeline, every other line has an owner. The baseline and the thirty minutes are examples: pick your own, and write them down.&lt;/em&gt; (&lt;a href="https://hayatibis.dev/writing/software-moves-with-checklists" rel="noopener noreferrer"&gt;interactive version&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;Each response is a state someone can check. “Rollback-safe” means the previous release still runs against the new schema; if it doesn’t, the rollback line below it is a lie. “Last release” names the version you would go back to.&lt;/p&gt;

&lt;h2&gt;
  
  
  When the checklist becomes code
&lt;/h2&gt;

&lt;p&gt;In software, some checklist items can become enforced checks in the delivery pipeline. Aviation does a version of this too. On the Boeing 777-9, the &lt;a href="https://www.boeing.com/content/dam/boeing/boeingdotcom/commercial/mmel/777_9_FAA_PMMEL_02262026_5Ea.pdf" rel="noopener noreferrer"&gt;electronic checklist&lt;/a&gt; reads some items from the aircraft itself: if the folding wingtips aren’t extended, it marks the Before Takeoff checklist incomplete and raises a caution.&lt;/p&gt;

&lt;p&gt;The clearest case I know is a gateway setup I built at work, which KrakenD later wrote up as a case study. Each backend team owns the files for its own routes, and those files compile, together with shared templates, into one configuration of more than 500 routes. Checking that the whole thing still builds after a one-line change is exactly the kind of step people skip. So on every pull request a pre-check builds the full configuration, and only a pull request that builds goes on to review.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnvd3fjo59uhf98npugkv.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnvd3fjo59uhf98npugkv.png" alt="Fig. 5 · A pull request that doesn't build goes back to its author. One that builds still waits for a person from the owning team." width="800" height="189"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Fig. 5 · A pull request that doesn't build goes back to its author. One that builds still waits for a person from the owning team.&lt;/em&gt; (&lt;a href="https://hayatibis.dev/writing/software-moves-with-checklists" rel="noopener noreferrer"&gt;interactive version&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;What the pre-check can’t decide stays with a person: a code owner from the owning team has to approve before anything merges. The pipeline only checks the conditions someone wrote down. Whether the change is a good idea is still a human call, and that is where the attention should go.&lt;/p&gt;

&lt;p&gt;A checklist needs an owner, like any other code. After an incident or a rehearsal, fix the lines that were unclear, and grey out the ones the pipeline now enforces so nobody checks them twice. The lines that need someone’s judgment stay, even when a script could tick them.&lt;/p&gt;

&lt;p&gt;Gawande names the resistance plainly: using a checklist “feels beneath us,” an embarrassment for people who are supposed to be good.&lt;/p&gt;

&lt;p&gt;So go back to that morning at Wright Field. In the cockpit sits the Army’s most experienced test pilot; nobody knows flying better. What brings the airplane down is a small lock left on the tail. The pilots who came after him weren’t more talented. They had a card, that’s all. With it, the same design flew 1.8 million miles without an accident and became the B-17.&lt;/p&gt;

&lt;p&gt;Before you press deploy next time, ask yourself one thing: what’s my gust lock?&lt;/p&gt;




&lt;h2&gt;
  
  
  Stands on
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;a href="https://atulgawande.com/book/the-checklist-manifesto/" rel="noopener noreferrer"&gt;Atul Gawande, The Checklist Manifesto: How to Get Things Right (2009)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://www.newyorker.com/magazine/2007/12/10/the-checklist" rel="noopener noreferrer"&gt;Atul Gawande, The Checklist (The New Yorker, 10 December 2007)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://ntrs.nasa.gov/citations/19910017830" rel="noopener noreferrer"&gt;Asaf Degani and Earl L. Wiener, Human Factors of Flight-Deck Checklists: The Normal Checklist (NASA CR-177549) (1990)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://www.boeing.com/content/dam/boeing/boeingdotcom/commercial/mmel/777_9_FAA_PMMEL_02262026_5Ea.pdf" rel="noopener noreferrer"&gt;Boeing 777-9 Proposed Master Minimum Equipment List, item 31-61-11: Electronic Checklist (FAA, 2026)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://www.krakend.io/case-study/paribu/" rel="noopener noreferrer"&gt;KrakenD: Every Change Reviewed, Every Peak Absorbed (Paribu case study)&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;strong&gt;Notes&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;A gust lock pins the control surfaces so wind can’t slam them around while the aircraft is parked. Essential on the ramp, fatal on the runway.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;A new essay every Sunday: &lt;a href="https://buttondown.com/hayatibis" rel="noopener noreferrer"&gt;get it by email&lt;/a&gt;. If you'd like more of these, you can support the writing on &lt;a href="https://www.patreon.com/cw/hayatibis" rel="noopener noreferrer"&gt;Patreon&lt;/a&gt;, or &lt;a href="https://buymeacoffee.com/hayatibis" rel="noopener noreferrer"&gt;buy me a coffee&lt;/a&gt; once.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>softwareengineering</category>
      <category>aviation</category>
    </item>
    <item>
      <title>A refactor without tests is a rewrite</title>
      <dc:creator>Hayati</dc:creator>
      <pubDate>Sun, 11 Oct 2026 11:48:40 +0000</pubDate>
      <link>https://dev.to/hayatibis/a-refactor-without-tests-is-a-rewrite-4jpp</link>
      <guid>https://dev.to/hayatibis/a-refactor-without-tests-is-a-rewrite-4jpp</guid>
      <description>&lt;p&gt;&lt;em&gt;Originally published on &lt;a href="https://hayatibis.dev/writing/a-refactor-without-tests-is-a-rewrite" rel="noopener noreferrer"&gt;hayatibis.dev&lt;/a&gt;, where the figures move and the toys are interactive.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;“I’m refactoring it” is one of the most stretched sentences in software. It gets used for renaming a variable, and for a service that is down for a week while someone cleans it up.&lt;/p&gt;

&lt;p&gt;Martin Fowler, who wrote &lt;a href="https://martinfowler.com/books/refactoring.html" rel="noopener noreferrer"&gt;the book&lt;/a&gt; on it, &lt;a href="https://martinfowler.com/bliki/DefinitionOfRefactoring.html" rel="noopener noreferrer"&gt;puts it more precisely&lt;/a&gt;. A refactoring is “a change made to the internal structure of software to make it easier to understand and cheaper to modify without changing its observable behavior.”&lt;/p&gt;

&lt;p&gt;The interesting part is the end of that sentence: &lt;em&gt;without changing its observable behavior&lt;/em&gt;. It raises a question people tend to skip: how do you know?&lt;/p&gt;

&lt;h2&gt;
  
  
  How do you know nothing changed?
&lt;/h2&gt;

&lt;p&gt;You can read the diff, or try a few things in the app (these days we often don’t even read PR diffs: an AI agent writes the code, and another one reviews it :) Neither holds up once the change is bigger than a few lines.&lt;/p&gt;

&lt;p&gt;Tests are the simple answer. They pin down what the code does today, and they tell you within seconds when a step moves it. Without them, “the behaviour didn’t change” is a wish rather than a fact. A change you can only hope is safe carries the risk of a rewrite, whatever the ticket calls it.&lt;/p&gt;

&lt;p&gt;Fowler has a &lt;a href="https://martinfowler.com/bliki/RefactoringMalapropism.html" rel="noopener noreferrer"&gt;one-line test&lt;/a&gt; for this: “If somebody talks about a system being broken for a couple of days while they are refactoring, you can be pretty sure they are not refactoring.”&lt;/p&gt;

&lt;p&gt;Fowler would call the untested kind restructuring rather than a rewrite. My rule is stricter: if I can’t show the behaviour stayed put, I plan the change with the care I’d give a rewrite.&lt;/p&gt;

&lt;h2&gt;
  
  
  Small steps, each one checked
&lt;/h2&gt;

&lt;p&gt;Refactoring, done his way, is a chain of small moves with names: Rename Variable, Extract Function, Move Function. After each one you run the tests.&lt;/p&gt;

&lt;p&gt;These are the moves we worked hard to get used to, and racked our brains over, back before AI. Now, building with Claude and Codex, we sometimes have to steer the agents down the same road. The most capable models already know all of this, and the way they are trained, to keep running the code and fixing it until the tests pass,[1] lets them do it in the natural flow of work. Still, we need to take care to hand them our own way of working.&lt;/p&gt;

&lt;p&gt;Flip the switch below and watch the same five steps with and without tests.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffgzp1b69zd83r7ljz5ao.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ffgzp1b69zd83r7ljz5ao.png" alt="Fig. 1 · Five small steps. With tests, the step that changes behaviour fails at once and gets undone. Without them, the bug shows up weeks later and nobody knows which step it came from." width="799" height="276"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Fig. 1 · Five small steps. With tests, the step that changes behaviour fails at once and gets undone. Without them, the bug shows up weeks later and nobody knows which step it came from.&lt;/em&gt; (&lt;a href="https://hayatibis.dev/writing/a-refactor-without-tests-is-a-rewrite" rel="noopener noreferrer"&gt;interactive version&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;With tests, a broken step is always the last step, so you know exactly what to undo. Without them, all five ship together. When the bug arrives, the question is no longer “what did I just do?” but “what did we do in October?”&lt;/p&gt;

&lt;h2&gt;
  
  
  The legacy code trap
&lt;/h2&gt;

&lt;p&gt;Michael Feathers put it bluntly in &lt;em&gt;Working Effectively with Legacy Code&lt;/em&gt;: legacy code is simply code without tests. Age has nothing to do with it. Last week’s code without tests is legacy code.&lt;/p&gt;

&lt;p&gt;And it comes with a trap. To change the code safely you need tests. To get tests around it you often have to change the code first: a constructor that opens a database connection, or a function that reads the clock. Feathers’ way out is a loop where the change you actually came for is the last step.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fz18x1ya1zpszph1viyxm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fz18x1ya1zpszph1viyxm.png" alt="Fig. 2 · Feathers' legacy code change algorithm. The first edits only make the code testable; the change you came for comes last." width="799" height="282"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Fig. 2 · Feathers' legacy code change algorithm. The first edits only make the code testable; the change you came for comes last.&lt;/em&gt; (&lt;a href="https://hayatibis.dev/writing/a-refactor-without-tests-is-a-rewrite" rel="noopener noreferrer"&gt;interactive version&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;Step 3 is where the careful, tiny edits go: pass the clock in as a parameter, pull the database behind an interface. Feathers calls the places where you can swap behaviour without editing the code there &lt;em&gt;seams&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;Step 4 has a trick I like. You don’t write tests for what the code &lt;em&gt;should&lt;/em&gt; do; you write &lt;em&gt;characterization tests&lt;/em&gt; for what it &lt;em&gt;does&lt;/em&gt;. Write an assertion you know is wrong, run it, and let the failure tell you the real answer. Then put the real answer in the test.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight go"&gt;&lt;code&gt;&lt;span class="c"&gt;// A characterization test: it records what Price does today, not what it should do.&lt;/span&gt;
&lt;span class="c"&gt;// If today's answer looks wrong, pin it anyway and fix it in a separate change.&lt;/span&gt;
&lt;span class="k"&gt;func&lt;/span&gt; &lt;span class="n"&gt;TestPrice_CurrentBehaviour&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;t&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="n"&gt;testing&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;T&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;cents&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;want&lt;/span&gt; &lt;span class="o"&gt;:=&lt;/span&gt; &lt;span class="k"&gt;range&lt;/span&gt; &lt;span class="k"&gt;map&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="kt"&gt;int&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="kt"&gt;string&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="m"&gt;0&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;      &lt;span class="s"&gt;"0.00"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="m"&gt;199&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;    &lt;span class="s"&gt;"1.99"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="m"&gt;5&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;     &lt;span class="s"&gt;"-0.05"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
        &lt;span class="m"&gt;100000&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt; &lt;span class="s"&gt;"1,000.00"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
        &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;got&lt;/span&gt; &lt;span class="o"&gt;:=&lt;/span&gt; &lt;span class="n"&gt;Price&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;cents&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt; &lt;span class="n"&gt;got&lt;/span&gt; &lt;span class="o"&gt;!=&lt;/span&gt; &lt;span class="n"&gt;want&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
            &lt;span class="n"&gt;t&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;Errorf&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s"&gt;"Price(%d) = %q, want %q"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;cents&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;got&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;want&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
        &lt;span class="p"&gt;}&lt;/span&gt;
    &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now the refactor has a net under it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Refactor or rewrite?
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fd1n72uqtilq5p6vn28b3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fd1n72uqtilq5p6vn28b3.png" alt="Fig. 3 · Three changes. By my rule, which one is a refactor?" width="799" height="532"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Fig. 3 · Three changes. By my rule, which one is a refactor?&lt;/em&gt; (&lt;a href="https://hayatibis.dev/writing/a-refactor-without-tests-is-a-rewrite" rel="noopener noreferrer"&gt;interactive version&lt;/a&gt;)&lt;/p&gt;

&lt;h2&gt;
  
  
  When it really is a rewrite
&lt;/h2&gt;

&lt;p&gt;Rewrites aren’t a sin. Sometimes the old code has to go. They just need a different plan, and the first step of that plan is to define the rewrite in a much clearer frame and say its name louder.&lt;/p&gt;

&lt;p&gt;A rewrite you’ve named can be planned like one: run the old and new code side by side and compare what they return, move traffic behind a flag, keep the way back open. Fowler’s &lt;a href="https://martinfowler.com/bliki/StranglerFigApplication.html" rel="noopener noreferrer"&gt;&lt;em&gt;strangler fig&lt;/em&gt;&lt;/a&gt; is the patient version of this: grow the new code around the old, a piece at a time, until the old part can be switched off.&lt;/p&gt;

&lt;p&gt;Next time someone says “I’m refactoring it”, ask the question this whole essay hangs on: how will you know nothing changed? If the answer is a test suite, let them refactor as much as they like, in small steps. If the answer is “I’ll click around”, it’s a rewrite with a nicer name, and it deserves a rewrite’s plan.&lt;/p&gt;




&lt;h2&gt;
  
  
  Stands on
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;  &lt;a href="https://martinfowler.com/bliki/DefinitionOfRefactoring.html" rel="noopener noreferrer"&gt;Martin Fowler: Definition of Refactoring (2004)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://martinfowler.com/bliki/RefactoringMalapropism.html" rel="noopener noreferrer"&gt;Martin Fowler: Refactoring Malapropism (2004)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://martinfowler.com/books/refactoring.html" rel="noopener noreferrer"&gt;Martin Fowler, Refactoring: Improving the Design of Existing Code (2nd ed.) (2018)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  Michael Feathers, Working Effectively with Legacy Code (2004)&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://martinfowler.com/bliki/StranglerFigApplication.html" rel="noopener noreferrer"&gt;Martin Fowler: Strangler Fig (2024)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://openai.com/index/o3-o4-mini-codex-system-card-addendum/" rel="noopener noreferrer"&gt;OpenAI: Addendum to o3 and o4-mini system card: Codex (2025)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;  &lt;a href="https://code.claude.com/docs/en/best-practices" rel="noopener noreferrer"&gt;Anthropic: Best practices for Claude Code&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




&lt;p&gt;&lt;strong&gt;Notes&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;a href="https://openai.com/index/o3-o4-mini-codex-system-card-addendum/" rel="noopener noreferrer"&gt;OpenAI says&lt;/a&gt; codex-1, the model behind Codex, was trained with reinforcement learning on real-world coding tasks and “iteratively runs tests until passing results are achieved.” Anthropic’s &lt;a href="https://code.claude.com/docs/en/best-practices" rel="noopener noreferrer"&gt;Claude Code guide&lt;/a&gt; describes the same loop: Claude “does the work, runs the check, reads the result, and iterates until the check passes.”&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;em&gt;If you'd like more of these, you can support the writing on &lt;a href="https://www.patreon.com/cw/hayatibis" rel="noopener noreferrer"&gt;Patreon&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>softwareengineering</category>
    </item>
  </channel>
</rss>
