Not sure I follow, all value types in C# has a default value. I suggest to use the default value for value types and null for reference types. We used an optinal implementation for our PUT routes and this has open a huge can of worms, such as silent errors when wrong datatype are passed in. Note that we used optional and not option type not sure if there is a difference
One of the best talks during the foundations session. Glad to be able to watch it again!
Not sure I follow, all value types in C# has a default value. I suggest to use the default value for value types and null for reference types.
We used an optinal implementation for our PUT routes and this has open a huge can of worms, such as silent errors when wrong datatype are passed in. Note that we used optional and not option type not sure if there is a difference
in the future decades some people connecting to that video will think: "co-vead ? what the heck is he talking about?"
whenever i make enums i always add invalid as default value
A very good talk, thank you.
Knowing how to write clean and modern C# is a requirement before making comparison. Lol