Norm Bryar·Mar 6, 2023That LeetCode Question’s Value is in the ConversationGood programming interview questions uncover how someone thinks and envisions.
Norm Bryar·Jan 29, 2023Truly Leverage C# Structs (Part 2)Value-type structs in C# deserve time to understand. Here we continue learning to optimize structs, and where the ideas may lead next.
Norm Bryar·Jan 25, 2023Truly Leverage C# Structs (Part 1)A lot has been said about structs in C#, because a lot should be said about them. Here’s the scoop on choosing, and best using, structs.
Norm Bryar·Dec 25, 2022Faster use of bool?Sometimes, you’d like to avoid branching and just treat a bool as a 1 or a 0. Can C# do this?A response icon1A response icon1
Norm Bryar·Dec 1, 2022Conveying Context with AsyncLocalSometimes you want custom, ambient-context to flow across components or tasks in .Net. Try AsyncLocal.A response icon2A response icon2
Norm Bryar·Nov 24, 2022Doubles or Floats, Let .Net7 HelpTeams reach for 64-bit doubles instinctively, but .Net7 has made it easier to work with 32-bit floats. Should you consider this?
Norm Bryar·Nov 7, 2022Dictionaries and SpansExploring .Net Core’s Memory<T> within Dictionary collections to minimize allocations, as in structured-text extractions.
Norm Bryar·Oct 1, 2022String.Create and Span<char>A fast, no memory-waste way to build strings in .Net Core.
Norm Bryar·Aug 16, 2022Tips on C# BenchmarkingIdeas to maximize your use of BenchmarkDotNet and minimize inaccuracies in testing.
Norm Bryar·Jul 20, 2022Embrace the Nullable ReferenceOn seeing some people turn-off the compile-time insights about nulls, some reasons why and the techniques to bring to bear get explored.