~/talk

Curing the common loop

Talkat Laracon EU 2016 · 2016-08-23..08-24· [frontend-architecture]
slides:none on file

Shows concrete refactorings that remove loops, conditionals and temporary variables by using higher‑order functions on Laravel collections, demonstrating the same $2.9M result after replacing nested loops with map filter flatMap reduce sum pipelines. Uses PHP/Laravel collection methods like pluck and contains to simplify logic, runs Valet tests to prove correctness, and replaces ad‑hoc array code with readable Collection::map()->filter()->sum() chains that keep behavior and eliminate state.

AI-written summary · about

  1. 0:00Start
  2. 0:20Curing the Common Loop Cadamwathan
  3. 0:47Higher Order FUNCTIONS
  4. 8:41Thinking in STEPS
  5. 10:25#2. CONDITIONALS
  6. 10:54Inline TEMP
  7. 12:11The Problem With PRIMITIVES
  8. 13:40Introducing COLLECTIONS
  9. 44:42FULL STACK RADIO
~/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.