Tag: C#
I am wondering how many people actually read the ‘using directive’ on top of each C# file, like this: using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Drawing; …
There is a piece of bad-smelling code, I happen to read today. The following aims to compute the angle between two line vectors. This code has been in the …
This is a code change that I observe today. It has been in the codebase for a long time, and I find it interesting to talk about it. The …
I thought it will be nice to share some code-review experience from time to time. A code-review is important and necessary for PR (Pull Requests) to merge to the …
If you write unit tests, you must have known the basic Assert usages, such as Assert.IsTrue, Assert.AreEqual … It is less clear/clean than the fluent expressions. But first you …