While teaching a course on design patterns I was asked by one of the participants when would I use an interface and when to use an abstract class. I've started the outline the reasons for each and ended up with a few good ones which I like to share in the following post.Interfaces and abstract … Continue reading Back to basics: Using interface vs. abstract class
The 5 D’s of creating software
Warning: Do not take the following post too seriously The software development world is governed by many forces beyond our control. There's so much to do and so little time, there’s so much to learn an experience and on top of that it software development keeps on changing and mutating all of the time. There … Continue reading The 5 D’s of creating software
Upcoming speaking engagements: Vancouver here I come!
At the beginning of December I’m going to speak at ConFoo Vancouver.I spoke at ConFoo Montreal in the past and I look forward to speaking at the first ever ConFoo Vancouver.I’ll be speaking on two of my favorite topics – unit testing and electronics (not at the same session).5 Unit Testing Facts I Wish I’d … Continue reading Upcoming speaking engagements: Vancouver here I come!
Using conditional breakpoints to filter exceptions during debugging
With every new version the C# language has grown and improved. The last version so a.k.a C# 6 has brought some of my favorite features. And with C# 7 just around the corner I know there's more to come. One of the new useful features added to C# is the ability to filter exceptions. Consider … Continue reading Using conditional breakpoints to filter exceptions during debugging
Faking DateTime using Microsoft Fakes seems to be broken
It seems as if causing DateTime.Now to return another value has become the demo to show when demoing an unconstrained Mocking framework. It’s easy to show and needed in many unit tests – unless you want your tests to be affected by time – trust me and you don’t. That’s why I was amazed to … Continue reading Faking DateTime using Microsoft Fakes seems to be broken
New Pluralsight course: C++ Unit Testing Fundamentals Using Catch
Last week my very first Pluralsight course went live!My course on unit testing in C++ using CATCH is ready for your viewing pleasure. It’s about a topic I’m passionate about - how to write good unit tests, I’ve used Catch because I found that it helps writing good tests while avoiding many of the pitfalls … Continue reading New Pluralsight course: C++ Unit Testing Fundamentals Using Catch
An open letter to conference’s organizers
I got my first international speaking opportunity in 2012. After sending countless proposals and getting just as many rejects I got an email from DevReach telling me I got accepted – I remember reading it twice just to make sure. Speaking on DevReach was a big change from the user group talks I’ve done until … Continue reading An open letter to conference’s organizers
MSTest V2 – First impressions
It’s been a while since I’ve tried a new Unit Testing framework. It seemed that between NUnit, XUnit & MSTest I had enough to choose from. I’ve always tried to be pragmatic when choosing a test framework for a new project and when suggesting one to a new client. Although all .NET unit testing framework … Continue reading MSTest V2 – First impressions
Implementing Soundex using LINQ (with help from OzCode)
A while ago I came across the very interesting Soundex algorithm. It’s a way to find similarity between words based on how they sound – I’ll let Wikipedia explain:Soundex is a phonetic algorithm for indexing names by sound, as pronounced in English. The goal is for homophones to be encoded to the same representation so … Continue reading Implementing Soundex using LINQ (with help from OzCode)
The real difference between NUnit and XUnit
I’ve just started yet another pet project and wanted to pick a unit testing framework (.NET). On a soon-to-regret whim I’m tried googling “NUnit vs. XUnit” and read the first 10 posts I got. They were informative and mostly correct, unfortunately all completely missed the one big difference between those two excellent unit testing frameworks… … Continue reading The real difference between NUnit and XUnit

