~/talk

The way you write dotnet is about to fundamentally change

Talkat DDD Melbourne 2024 · on Saturday, 2024-03-16· [c-sharp, software-architecture]
links:none on file
slides:none on file

Claim: adding discriminating unions to C# gives compiler-enforced closed types so pattern matching is exhaustive and many runtime "unknown value" bugs disappear. Tools demonstrated: records + with expressions for immutability, pattern matching switch expressions, Option and Result union types to replace nulls and exceptions, and the minimal API IResult emulating unions. Concrete failures: enum deserialization caused a switch exception during a blue/green deploy; dunet library plus source generators do work today (serialization included), but the proposal sits seven years and 785 comments.

AI-written summary · about

  1. 0:00Introduction and thanks
  2. 1:06Future of .NET development
  3. 3:35Pattern matching in C#
  4. 5:24Records and immutability
  5. 11:52Discriminating unions explained
  6. 17:11Exhaustive checks and closed types
  7. 22:30Option type vs nullability
  8. 24:36Result type and exceptions
  9. 26:19Minimal APIs and typed results
  10. 32:54Current union limitations
  11. 33:56Records and pattern matching benefits
  12. 34:38Future outlook and closing
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.