-
11Apr
2011 Git Rebase – more than a machine gun to shoot yourself in the foot withThere is an adage in the development circles that C programming language is both powerful and dangerous, akin to a gun that you can accidentally shoot yourself in the foot with. By the same token, C++ makes it possibly to blow your entire leg. In this post i would like to apply these analogies in the context of git version control system.
-
23Feb
2011 How Path to Happiness Is, Surprisingly, Doing What You Love (and StackOverflow)Reflection on the path I’ve taken to find a new (totally awesome) job.
-
31Dec
2010 Composite Pattern and Unity IoC containerJoel Spolsky thinks that IoC containers are an overkill and Dan North agrees that IoC Containers inadvertently tolerate highly inter-dependent designs. IoC containers, in my opinion, are indispensable in creating a loosely coupled application. So much so, that I think that there should be a language that has Dependency Injection built-in. That aside, I have [...]
-
30Nov
2010 Book review: Agile Principles, Patterns, and Practices in C#Review of Bob C. Martin’s “Agile Principles, Patterns, and Practices in C#”.
-
27Sep
2010 CRTP in C#Curiously Recursive Template Pattern made possible in C#.
-
12Aug
2010 Type-safe Dynamic MixinsThis is another one of those posts that arose from an epic StackOverflow answer. The problem to be solved was creating a factory that would at runtime merge two implementations of different interfaces into one object. I have implemented this using Castle Dynamic Proxy (which is totally awesome, that’s why all mocking/testing libraries use it). [...]
-
18Jun
2010 Handling 404, unhandled and unsafe URL errors in ASP.NET MVC applicationSpent a bit of time recently to try and get my MVC application handle 404 errors exactly as I want. The solution that I ended up choosing is based on this excellent SO answer. The advantage of rendering the Error view by calling ErrorController.Execute, as opposed to making an entry in web.config, is that you [...]
-
28Apr
2010 Keeping your sanity whilst developing for Windows Phone 7Dealing with those obtuse run-time errors whilst developing for WP7.

-
01Mar
2010 F# – Combinators And Tail RecursionPerhaps combinators and tail recursion are not the best beginner topics in F# but they are the ones I got stuck into pretty much straight away. I blame Google. After reading a few google hits on functional programming I of course found out about combinators and I just had to understand them. I finally got [...]
-
01Feb
2010 Double dispatch without RTTII liked my StackOverflow answer so much that I decided to make it into a blog post. The question was how to implement a double dispatch mechanism for subclasses of one base class without casting. After dismissing the question as stupid, I spent a bit of time trying to come up with a solution that [...]