~/talk

Nullability in C# 8.0

Talkat Update Conference Prague 2019 · 2019-11-14..11-15· [dotnet]
slides:none on file

C# 8 adds nullable reference types as annotations so existing nonnullable types become the default, using the ? operator and a lexical nullable enable directive that can be applied per file. The compiler emits warnings (Roslyn saw ~3,500–4,000 initially) and uses flow analysis plus new attributes (DoesNotReturn, NotNullWhen, etc.) to learn common patterns. Incremental adoption strategies and SDK annotations reduce churn; the feature ships and finds real bugs while keeping runtime behavior unchanged.

AI-written summary · about

  1. 0:00Start
  2. 0:16Jared Parsons
  3. 1:25BILLION DOLLAR MISTAKE
  4. 2:03C# AND NULL REFERENCES
  5. 2:48CREATING VS. EXTENDING
  6. 6:23WHAT ABOUT AN API SOLUTION?
  7. 7:50COMPONENTS FOR SUCCESS
  8. 9:10LOTS OF C# CODE TO ANNOTATE
  9. 10:17CANT ENABLE IN ONE CHANGE
  10. 12:22NET HAS A BROAD ECOSYSTEM
  11. 14:29PRINCIPLES
  12. 41:11REVIEW
  13. 41:47NET CORE 3.0
  14. 42:51NET AND NULLABILITY GOING FORWARD
  15. 43:57RECOMMENDATION FOR LIBRARY AUTHORS
  16. 44:43ADOPTION STRATEGIES
  17. 47:16ADOPTION EXAMPLES
  18. 47:27MORE RESOURCES (2)
~/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.