Asynchronous enumerations – Introduction

A couple of weeks ago I had a discussion with a co-worker about what would be the proper way to asynchronously iterate over some data in azure tables. Exploring different options was very interesting and let us understand different pros and cons for each asynchronous strategy. So over the next few weeks I’ll go over…

0

"Mocks: the code smell"

So I stole the title from this talk: [View:https://www.youtube.com/watch?v=Giqewl1zT_A] I have seen Arlo argue for his tests with simulators and I’ve always felt I shared his view on mocks. Or at least I share what I think is his view; that they should be avoided and only used under special circumstances. Kind of like nuclear…

0

Don’t make it hard to trust your code

I recently learned that an API I had been using for a project was lying to me. Maybe not intentionally but anyway. I think that a fundamental rule in software development is that you must trust that the methods you call at least try to do what they say they do. For example if a…

1

Which collection interface do I use?

ReSharper has a warning that I thought came from FxCop that is so important I wish it was an FxCop warning. It warns you if you try to enumerate an IEnumerable twice. This is important when you take a collection as an argument and you do not know how that collection is created. For example…

0