connect: No error When Running ng new
It’s (almost end of) 2017 and I am ready to jump into “future”. This time future is angular.io. BTW, many call it Angular 2 or Angular 4 to distinguish it from old Angular 1.x. That is incorrect, o...
It’s (almost end of) 2017 and I am ready to jump into “future”. This time future is angular.io. BTW, many call it Angular 2 or Angular 4 to distinguish it from old Angular 1.x. That is incorrect, o...
In one of our project there is a requirement to sort addresses by the distance to a given point. We use Azure SQL Database as a storage and Entity Framework 6.1.3 as an ORM. In 2017 all modern dat...
If you’re using git, most likely a lot of branches are being created. Some of them are pushed to remote and finally merged into the main branch. Branches are very lightweight in git (they’re just p...
Every .NET developer agrees that generics are evil good in general. They allow doing cool stuff, reduce amount of code and enforce type checks. However they can become abused very quickly, especial...
Only few hours passed after I had posted a post about misusing generics when I spotted a real gem during the code review. Here it is: public class UltraGenericService<T> : BaseGenericService...
Few weeks ago on a conference I met my former colleague who recently had been promoted to a team leader. And he said he’d faced (of course :) ) new challenges. One of them was related to audit pr...
My previous post contained a bug: public class BlinkingInside { public static readonly IEnumerable<object[]> Foo = Enumerable.Range(1, 1000).Select(i => new object[] { i }); priv...
I think every developer who uses unit tests is aware of “blinking” or unstable tests. Those are tests with non-deterministic behavior. They can either pass or fail from run to run even without code...
There is no any doubt that git is the best source control management system. Only those who never gave it a try can mumble something opposite. Moreover the whole power and beauty of git is exposed ...
During code review we spotted a class inherited from StringWriter. The only intention of that was the need to override StringWriter.Encoding property that was read-only for some reason. The use cas...