<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Undo on Prasenjeet Dutta</title><link>https://pdutta.net/tags/undo/</link><description>Recent content in Undo on Prasenjeet Dutta</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>© 2026 Prasenjeet Dutta</copyright><lastBuildDate>Tue, 17 Nov 2026 00:03:00 +0000</lastBuildDate><atom:link href="https://pdutta.net/tags/undo/index.xml" rel="self" type="application/rss+xml"/><item><title>Building a tiny text editor in Go, part 2: the simplest undo</title><link>https://pdutta.net/posts/ted-part-2-simplest-undo/</link><pubDate>Tue, 17 Nov 2026 00:03:00 +0000</pubDate><guid>https://pdutta.net/posts/ted-part-2-simplest-undo/</guid><description>&lt;p&gt;Undo sounds mysterious until we choose a deliberately unsophisticated answer:&#10;before every edit, copy the document. To undo, replace the current document&#10;with the most recent copy. It isn&amp;rsquo;t efficient, but it is easy to&#10;understand. That makes it a good first step.&lt;/p&gt;</description></item></channel></rss>