~/talk

Functional Programming on .NET - The Best of Both Worlds

Talkat NDC Oslo 2024 · 2024-06-10..06-14· [dotnet, functional-programming]
links:none on file
slides:none on file

Argues that the essential gains come from expressions and immutability rather than fancy syntax, demonstrates replacing mutating Calculator class with pure functions that accept state and a logger and return new state, shows a REPL workflow (Ionide in VS Code) and pipeline composition to chain operations, models mutually exclusive contact methods with pattern matching and recommends union types (tagged unions) as the next useful C# feature. Claims: fewer bugs, easier tests, lower TCO, faster time‑to‑market; C# adds sugar but is still OOP‑first.

AI-written summary · about

  1. 0:00Functional programming on .NET
  2. 1:49Why consider FP today
  3. 3:11Misconceptions about functional programming
  4. 5:39Core FP principles
  5. 7:05Expressions in C#
  6. 9:13Expressions reduce bugs
  7. 10:19Immutability explained
  8. 12:03Benefits of immutability
  9. 14:31Higher-level FP
  10. 16:24OOP vs FP in C#
  11. 19:34Lambdas functional?
  12. 20:22Link as FP tool
  13. 23:13FP hard in C#
  14. 26:23FP light for C#
  15. 28:11Missing FP features in C#
  16. 30:20Mutual exclusion in C#
  17. 33:28FP limitations in C#
  18. 34:10C# OOP roots
  19. 37:51No shortcuts in FP
  20. 38:34F# for .NET devs
  21. 40:37F# in VS Code
  22. 41:40Immutability in F#
  23. 44:10F# records
  24. 46:18F# calculator example
  25. 48:44F# function composition
  26. 50:32F# domain modeling
  27. 52:18F# ecosystem
  28. 53:25Try functional programming?
  29. 54:54Q&A
~/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.