Author Archives: Iván Stepaniuk

About Iván Stepaniuk

I have been writing software for more than fifteen years, in a wide variety of languages and platforms ranging from Assembler to JavaScript and from 8bit micro-controllers to large web applications. See my about page and Google+

LINQ to SQL pitfalls: Nullable types

Nullable booleans and comparisons Testing if a nullable boolean is true is quite simple in C#, there are many ways, sorted here in my preference order. bool? nullableBool = true; var option1 = nullableBool == true; var option2 = nullableBool.Equals(true) … Continue reading

Posted in .net | Tagged , , | 3 Comments

Coding Dojos Are Great

In 2012 I had the chance to participate in around dozen Coding Dojos. A Coding Dojo is, according to the codingdojo.org website: … a meeting where a bunch of coders get together to work on a programming challenge. They are … Continue reading

Posted in Idle | Tagged | Leave a comment

FluentAssertions

FluentAssertions is a set of .NET extension methods that allow you to more naturally specify the expected outcome of a TDD or BDD-style test. It is written by Dennis Doomen and Martin Opdam. For a quick overview, take a look … Continue reading

Posted in .net, Testing | Tagged , , , | Leave a comment

Thanks Agile Testing Days 2012!

It’s been less than a week since I came back from Berlin/Postdam from the best conference I attended this year, the Agile Testing Days. I co-presented a talk there with my colleague and friend Carlos Blé [thanks Carlos for proposing … Continue reading

Posted in Agile, JavaScript, Testing | Tagged , , | Leave a comment

LINQ to SQL and multiple aggregate columns

The following very simple T-SQL query will return the average value for all values in the Rating column: SELECT AVG(Rating) AS AvgRating FROM CarRating; Doing this in LINQ to SQL is quite trivial; The Average method returns the average from … Continue reading

Posted in .net | Tagged , , | Leave a comment