~/talk

Transforming your C# code to Functional Style

Talkat Functional Conf 2014 · 2014-10-09..10-11· [c-sharp]
slides:none on file

Shows concrete C# rewrites: replace for/foreach and mutable accumulators with LINQ Where/Select and passing lambdas, turning imperative loops into internal iterators that produce new collections without explicit mutation. Demonstrates laziness of intermediate ops (no work until a terminal call like ToList or First) and easy parallelism via parallel collections/PLINQ, applies tell‑don’t‑ask and single level of abstraction by moving booking logic into a bookIfAvailable method, and reports that these changes make code shorter, safer and trivially parallelizable.

AI-written summary · about

  1. 0:00Start
  2. 0:45Higher-Order Functions
  3. 2:48Iterating
  4. 3:17External Iterator
  5. 6:16Expressiveness
  6. 6:46Internal Iterator
  7. 14:05Mutability versus Immutability
  8. 17:03Double Values
  9. 17:17Doubling the Values
  10. 18:07Select Method
  11. 24:52Being Lazy
  12. 30:41The Ask Example
~/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.