Software Unscripted cover image

Undo-Redo and Persistent State with Tom Ballinger

Software Unscripted

CHAPTER

Exploring Persistent Data Structures and Functional Programming for Time Rewind Mechanisms in Games

The chapter dives into the importance of using persistent data structures for enabling time-rewind functions in games, using examples from the game Braid. It discusses the challenges of mutability in states and the benefits of implementing functions as pure and automatically stopping at specific points. The conversation also explores the benefits of organizing programs around functional programming principles and the potential of the Rock programming language for production environments.

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