#Null
2 notas · última:
Code Smell 149 — Optional Chaining
The page argues that optional chaining hides null and undefined instead of removing them, and says cleaner code should eliminate nulls and explicit undefined checks.
Why null in C# is so bad
The article argues that null breaks language assumptions, forces defensive branching, and causes bugs and NullReferenceException. It recommends nullable reference checks in C# 8.0 for new projects.
