~/talk

Building Strong Code Through Patterns

slides:none on file

Shows concrete patterns and runnable fixes: uses a simple finite state machine (enum + switch) to stop infinite Mario jumps and keep new input states from cascading bugs; implements a flyweight pattern plus a factory to load one mesh/texture set and spawn many goblins so four runtime objects map to two heavy instances, saving memory on low‑RAM devices; warns about singleton pitfalls (race conditions, test breaks, global coupling) and recommends IoC, assertions or passing dependencies instead.

AI-written summary · about

  1. 0:00Start
  2. 0:32The Problem
  3. 5:11What is a pattern?
  4. 6:43Decoupling
  5. 28:10Replacing the Singleton
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.