Archive

Archive for the ‘About nothing’ Category

A good name matters

October 1, 2010 Leave a comment

Did you realize that the biggest success of a person called “Gates” is called “Windows”?

Categories: About nothing

Yoda style unit testing

August 20, 2010 Leave a comment

Few days ago we were doing a new algorithm for a existing (and slow) feature. Basically, the algorithm returns a list of strings, and the way we choose to test it is to trust the first one and run both algorithms looking for the same result in both. The first line of the assertion is natural:

Assert.AreEqual(resultOld.Count,resultNew.Count);

But the second one seems to be coded by Yoda

Assert.That(resultOld.All(resultNew.Contains));

Ok, it’s not actually a Yoda style sentence, but I found it quite funny.

Categories: About nothing, C# Tags:

Happy Town

May 1, 2010 1 comment

I’ve just saw the first episode of Happy Town. It was actually good! And I liked the tributes to Twin Peaks, also 🙂
Now I have another show to follow besides House MD.

Categories: About nothing Tags:

Twiting

December 7, 2009 Leave a comment

I’m trying twitter now. I have not idea what can I do with that, but let’s see what happens…

Categories: About nothing Tags:

Say “Hi”. Hi

December 3, 2009 2 comments

Hi. Again.

My name is Ivo and this is my blog. This post is useless now, but if it really works it’ll be nice to see my first post saying “Hi”. A little about me, just to have an idea of what I could post: I’m an amateur guitar player, I listen to a lot of music and watch a lot of movies (ok, no so many lately…), I like some tv series (as House) and I’m a big fan of Twin Peaks. And I also work as a software architect (basically in C#). Probably, most of the posts will be about that.

Salut!

Categories: About nothing