Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Using Immutable Data Structures in C# and .NET

NDC Conferences via YouTube

Overview

Explore immutable data structures in C# and .NET in this comprehensive conference talk. Learn how immutability can enhance code clarity, simplify reasoning, and reduce runtime errors. Discover techniques for implementing immutable objects and collections in C#, and gain insights on refactoring existing codebases to incorporate immutability. Examine both positive and negative implications of introducing immutability to your projects. Delve into topics such as F# concepts, synchronization quadrants, Moore's Law, immutable classes, auto properties, readonly structures, and mutation patterns. Investigate practical examples, including refactoring strategies, the builder pattern, and Entity Framework considerations. Gain valuable insights on balancing immutability with other programming paradigms and aligning it with your team's approach to application architecture. Conclude with a discussion on persistent data structures, event sourcing, and Redux, encouraging a shift in perspective when approaching software development.

Syllabus

Introduction
Fsharp
How do you know if someone is functional
C is something that is Bill
Bad immutability jokes
Scott Hanselman example
List example
Thinking
Synchronization Quadrant
Moores Law
History of Immutability
Immutable Classes
Auto Properties
ReadOnly Structures
Anonymous Types
Immutability
Mutation Patterns
Unnecessary Setters
Columns for Table
Column Type String
Column Type Setter
Projection over Mutation
My Main Principle
Open Setters
Setup Methods
Refactoring
Immutable List
Mutable List
ReadOnly List
AutoMapper
Constructor
SystemTextJason
Builder Pattern
DBContext Options
No Open Setters
Functional Ideas Only Work in C
Immutability in C
Entity Framework
Hitting Ranks
Balancing Act
Tradeoff
American Currency
Main Takeaway
Immutability Has Helped Me Evaluate
Align With Your Team
Application Architecture
Persistent Data Structures
Event Sourcing
Redux
Change your mind
Questions

Taught by

NDC Conferences

Reviews

Start your review of Using Immutable Data Structures in C# and .NET

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.