C# 8.0: Nullable Reference Types in Practice

The “Billion Dollar Mistake”—null content—has plagued C# developers since version 1.0. NullReferenceException is the most common runtime error. C# 8.0 introduces Nullable Reference Types (NRT), a feature that moves null checking from runtime to compile time. This is not just a syntax change; it’s a fundamental shift in how we write safety-critical C# code. How […]

Read more →

C# 8.0: Nullable Reference Types in Practice

The “Billion Dollar Mistake” – the null reference – is finally being addressed in C# 8.0. Nullable Reference Types (NRT) are not just a compiler check; they are a fundamental shift in how we design software. Enabling NRT To enable it, add <Nullable>enable</Nullable> to your .csproj. Prepare for a sea of yellow warnings. Do not […]

Read more →

React Testing with Jest and React Testing Library

React Testing Library encourages testing behavior, not implementation. Here’s how to write effective React tests. Setup Basic Test Async Testing Guidelines Query by role, label, or text – not test IDs Test user behavior, not implementation Avoid testing internal state References React Testing Library

Read more →

SQL Server 2019: What’s New for Developers

SQL Server 2019 brings big data clusters, improved query processing, and better Linux support. Here are the highlights for developers. Intelligent Query Processing Batch mode on rowstore: Faster analytical queries Memory grant feedback: Automatic memory adjustments Table variable deferred compilation: Better estimates New T-SQL Features Accelerated Database Recovery Near-instant recovery regardless of transaction log size. […]

Read more →