~/talk

A taste of functional programming with F#

Talkat MS Stage 2020 · on Friday, 2020-10-02· [functional-programming]
links:none on file
slides:none on file

Shows how to translate a C# caching pattern into a generic F# function, demonstrating records and discriminated unions, higher‑order functions and immutability as practical tools rather than theory. Uses .NET F# plus examples of Fable and the SAFE stack for web UIs. Converts nullable cache results into option types prevent nulls and pattern matching, so the compiler eliminates many null checks. Demo code keeps cache-get logic generic, reduces boilerplate, and illustrates that immutability makes reasoning and bug tracing simpler in both concurrent and synchronous code.

AI-written summary · about

  1. 0:00Start
  2. 5:04Type Providers
  3. 6:13Higher Order Functions
  4. 8:25Constructs of F Sharp
  5. 13:30Higher Order Functions in C Sharp
  6. 17:08Abstraction
  7. 25:37Discriminated Unions
  8. 27:07Data Constructors
  9. 27:17Pattern Match
  10. 28:34Discriminate Union
  11. 32:43Why Immutability Matters to Me
  12. 40:41The Safe Stack
~/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.