C# 8 – Nullable Reference Types

Microsoft is adding a new feature to C# 8 called Nullable Reference Types. Which at first, is confusing because all reference types are nullable… so how this different? Going forward, if the feature is enabled, references types are non-nullable, unless you explicitly notate them as nullable. Let me explain. Nullable Reference Types When Nullable Reference… Continue reading C# 8 – Nullable Reference Types

With or Without Curly Braces?

There’s a heated debate around single statements and whether they should have curly braces or not. In C++, C#, Java, and Javascript a single line statement without curly braces is valid, some take advantage of this feature, while others don’t. For Example Arguments Against Single Line Curly-Braces The argument against curly-braces are it’s terser syntax,… Continue reading With or Without Curly Braces?

In Code Tagged

Codifying the Secret Sauce

Each application has its secret sauce, it’s reason for existing. Codifying the secret sauce is instrumental in writing maintainable and successful applications. Wait. What is codifying? Patience my friend, we’ll get there. First let’s hypothesize: You’ve just been promoted to Lead Software Engineer (Congratulations!). Your CEO’s first task is creating a new product for the… Continue reading Codifying the Secret Sauce

Garbage Collection Types in .Net Core

Memory management in modern languages is often an afterthought. For all intents and purposes, we write software without nary a thought about memory. This serves us well but there are always exceptions… In California, there are extensive financial reporting requirements for Local Education Agencies (LEA), an LEA can be a county, a district, a charter… Continue reading Garbage Collection Types in .Net Core