Category: c #
Magic numbers are not good, we want to avoid them as much as we can. However, there is one exception, as described in the following C# example: public void …
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 …