I recently decided to learn Go. As in Go the programming language, also known as golang. These are my notes from doing so. In the form of code.
A not so simple C# method that makes JSON look pretty.
Git makes branching easy. Coming from other version control systems the work flow isn't always as easy to understand though. Here's what I've found works well when using Tortoise Git.
I’ve been using Phantom, a .NET build system written for writing build scripts in C# and Boo, in various projects for quite a while and been very happy with it. I’ve even been so happy that I’ve never had any need to extend it. Until now.
The Don't Repeat Yourself principle is important. But it's not the only important principle or consideration for software design. Like all good things it should be used with caution and afterthought.
For several years I’ve had a little “utility” function that I’ve used in several projects that I use to convert property names into strings. The method uses "static reflection" to figure out the name of a property that the lambda expression returns the value of.
I love C#. Jon Skeet's C# in Depth has given me even more reason for loving the language. A small example is a nice little way of not having to specify generic type parameters when creating objects of a type with type parameters.