Skip to content

The slides and demo code of my 'When to (not) use typestate' talk at RustFest Zurich 2024

Notifications You must be signed in to change notification settings

MattesWhite/type-state-presentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

When to (not) use typestate

This repo contains the slides and the demo code for my 'When to (not) use typestate' talk at RustFest Zurich 2024 given on Friday, June 21st 2024.

The talk is about the typestate pattern. How it is implemented, its benefits but also its disadvantages.

Demo

The talk contains a section on how to implement the typestate pattern. The demo code shows various implementation options depending on your requirements and state machine. For further details read the demo's docs.

Building the slides

The project uses marpit to render its slides.

If you use VS Code and have the recommended marpit extension installed you can simple run the Marp: Export Slide Deck... command to render the slides yourself.

If you don't use VS Code you have to use the marp CLI. You may need to pass the theme's URL to render the slides with the same style. You can find the theme's URL in ./.vscode/settings.json. Alternatively you can change to the similar gaia theme a default theme of marp.

Rendering the assets

All state diagram images are rendered via PlantUML from the according .puml files.

About

The slides and demo code of my 'When to (not) use typestate' talk at RustFest Zurich 2024

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published