~/talk

Code Golf: The zen of writing bad code II

slides:none on file

Walks through concrete PowerShell code golf: using the code.golf web runner (PowerShell 7), shaving whitespace and aliases, replacing if chains with ternary and null‑coalescing, and abusing scriptblocks, string multiplication, deconstruction, regex match and hash lookups. Shows a FizzBuzz reduction 287→42 characters and an arrows solution trimmed to ~155 (leaderboard at 66), plus a 12‑Days version at ~424 — all validated on the site and iterated until the output matches the tests.

AI-written summary · about

  1. 0:00Code golf introduction
  2. 8:43Trimming whitespace
  3. 15:29Arrays and strings
  4. 18:45PowerShell deconstruction
  5. 25:22Looping techniques
  6. 33:27FizzBuzz challenge
  7. 56:49Arrows challenge walkthrough
  8. 1:12:5012 Days of Christmas
  9. 1:22:05Final reflections
~/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.