Software Unscripted cover image

Undo-Redo and Persistent State with Tom Ballinger

Software Unscripted

CHAPTER

Exploring Undo-Redo and Persistent State in REPL Environments

The chapter delves into the intricacies of undo-redo functionality and persistent state management in a programming environment, focusing on the implications for REPLs. The discussion includes designing a REPL from scratch to handle undo techniques, storing REPL state in shared memory for persistence, and distinguishing between undoing bindings and effects. Various challenges and solutions for managing state changes, introducing effects like file input/output, and enabling undo functionality in different platforms are examined.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner