Event-Driven by Oskar Dudycz
Oskar Dudycz

Pragmatic about programming

  • Start
  • Articles
  • Guides
  • Consulting
  • Training
  • About
  • Contact
  • Talks
🇵🇱
Theme

C#

One article from 2021, written after months of using records and nullable reference types. It shows where they fall short: the with expression can copy a record into a state its factory would reject, a non-nullable type can still end up holding null, and reordering record fields can silently break deconstruction. More C# code is under the .NET and Event Sourcing tags.

1 article

  • Notes about C# records and Nullable Reference Types

    Notes about C# records and Nullable Reference Types

    2021-07-28 oskar dudycz C#

    In the last months, I spent quite some time playing with C# records and Nullable Reference Types. I was hoping that thanks to them, I would…

  • © License Creative Commons BY-SA 4.0 to Oskar Dudycz 2020 - 2026