.NET The Only Type of Testing You Need (Nick Chapsas) Always Return Early in Your Code | Code Cop #024 (via Nick Chapsas) Returning early to avoid unnecessary nesting is fine. Nick had an issue with how the provider of…
Professional Development – 2024 – Week 45
.NET Stop Using AutoMapper in .NET (via Nick Chapsas) The primary argument is that if things aren’t set up correctly, you don’t know at compile time. Unit tests should never mock the AutoMapper; use the real mapper. Mapperly is an…
Professional Development – 2024 – Week 44
.NET How to Measure Time Correctly in .NET (via Nick Chapsas) The Best Way to Work with Units in .NET (via Nick Chapas)
Professional Development – 2024 – Week 43
Professional Development – 2024 – Week 42
.NET You’re Doing Validation Wrong in .NET – Code Cop #023 (via Nick Chapsas) The two types of validation considered were (1) method that returns bool if valid, and (2) method that returns IEnumerable<string> with the list of errors. Nick’s…
Professional Development – 2024 – Week 41
.NET The Alternative to Deleting Data in .NET (via Nick Chapsas) Should You Use Controllers or Minimal APIs in. NET? (via Nick Chapsas) Leadership Stop Ignoring Your High Performers (via HBR) Productivity How to Manage – and Avoid – Mental…
Professional Development – 2024 – Week 40
AI Two Computer Scientists Debunk A.I. Hype with Arvind Narayanan and Sayash Kapoor (via Adam Conover) This was an informative podcast on why there is so much hype around AI. There are too many details to list here, but some…
Professional Development – 2024 – Week 39
.NET Testing in .NET is About to Change (via Nick Chapsas) LINQ’s INSANE Improvements in .NET 9 (via Nick Chapsas) Stop Using Booleans in Your Code! | Code Cop #022 (via Nick Chapsas)
Professional Development – 2024 – Week 38
.NET Stop Using FirstOrDefault in .NET | Code Cop #021 (via Nick Chapsas) This video compares List<T>.Find() and IEnumerable<T>.FirstOrDefault(). In certain cases, primarily if you’re using .NET 8 or below, Find() is faster and doesn’t allocate any memory. However, in…
Professional Development – 2024 – Week 37
.NET Stop Dealing with EF Core Exceptions Wrong! (via Nick Chapsas) If constraints aren’t met (e.g., max length, uniqueness), EF Core throws a DBUpdateException, which tells you very little about the specific problem. The current solution is to follow inner…