04-24, 17:05–17:35 (Europe/Amsterdam), Theatre 1
A few months ago, I found a Reddit post about a tiny pattern: a cached getter. It solved a problem I'd been working around for some time. That sent me down a rabbit hole looking for more. Patterns that barely show up in Godot tutorials. Stuff borrowed from backend engineering, from modern Python, from the corners of Godot that everyone's a bit scared of.
In this talk, I'll walk through the ones I keep reaching for now, using code from the wave-based arena racing shmup I'm in the middle of shipping:
- The cached getter from that Reddit post;
- The underused repository pattern;
- The specification pattern;
- A lightweight dependency injection pattern
Expect code you can use on Monday and a few honest moments about what I'd do differently
Writer, artist, programmer. I have been working in software engineering at a global scale for the past 15 years. Working on my first commercial title, Tiny Drift, already available on Steam.