Daily C#1
FYI: This post is mostly for myself, working as a link storage, if I'd ever want to go back in time and read these texts again. Although I hope it will be useful to someone else as well.
Latest articles on C# that made me think a bit:
Never return null refs from methods - on "why is it evil to return
nulls from methods". Tldr; because things break apart easily.Async/Await under the hood - on concurrency, parallelism, and tasks. Well written, not only on async/await.
Cancellation tokens - on using the cancellation tokens for Tasks - pretty neat way of managing the running tasks.
Comments practices - on writing meaningful comments. Lately I had a quite a talk with a colleague from my work on this matter.
IEnumerable, yield, return and lazy evaluation - basic things, often pretty confusing to people new to c#. Sometimes it's good to be back to basics and review.