December 11th, 2023 × #Observer pattern#Design patterns#Game development
The Observer Pattern
Discussion on the observer pattern, its use in game dev and JavaScript frameworks, differences from observables, and its relation to promises and streams.
In this episode of Syntax, Wes and Scott give a high level overview of the observer pattern, what is the observer, what are downsides to too many observers, and more.
Show Notes
- 00:25 Welcome
- 01:42 Syntax Brought to you by Sentry
- 02:16 High level overview
- Syntax 694: What's Up With Angular with Mark Techson
- Godot Engine
- 03:36 What might you observe in game development?
- 06:50 What is the observer?
- 08:11 What are some downsides to too many observers?
- 10:17 IntersectionObserver, MutationObserver, and PerformanceObserver
- 12:25 ResizeObserver
- 13:04 What about addEventListener?
- @BenLesh on Callbacks being faster than observables
- 16:13 Signals are becoming a big thing
Hit us up on Socials!
Syntax: X Instagram Tiktok LinkedIn Threads