A Best Practices Guide for Unit Testing

As more and more developers embrace the joys of unit testing, I'm starting to see a lot more tests in code reviews, which is great to see! I am, however, seeing a lot of the same mistakes pop up.To help with this, I wanted to use this blog post…

Read this article

Fakes, Mocks, Stubs, and Spies.. Oh My..

As I do more and more work with the exercism.io community, I've noticed a reoccurring theme. There seems to be a lot of confusion around the various types of "test doubles" and what each of them actually do.Now, if you've had some exposure to test driven development already,…

Read this article

DEVintersection 2017 Shenanigans

Kathleen Dollard in the house!Well, that's a wrap! DEVintersection is over after a long week of sessions, technical difficulties, and an intense all-day workshop. I'm back in my hotel room at the MGM Grand, but we need to talk about everything that happened this week before I inevitably forget.…

Read this article

Hacktoberfest is Coming!

photo from hacktoberfest.digitalocean.comIt's that time again! For those who don't know, Hacktoberfest is put on by DigitalOcean and GitHub as a means to celebrate open source software and to get more people involved in contributing to open source projects.Getting InvolvedSo how can you get involved? Well, I'm…

Read this article

The Transformation Priority Premise

Recently I stumbled across a test driven development article that mentioned something I had not heard before. It's a premise that Uncle Bob came up with as a means to order the priority of the transformations you should apply when practicing test driven development. He called it the Transformation Priority…

Read this article

Microsoft June 2017 Security Rollup Woes

Let me set the scene for you.It's the morning of June 14th, 6:30am to be exact, and we're going to make a standards deployment. You know how I know? Because it's Wednesday. And Wednesday morning is the morning that we usually make standards deployments. Monday is just too…

Read this article

Coding Standards Should Not Matter

Yeah that's right. That behemoth of a document that you call your standards document just does not matter. Now that's a pretty bold statement, so let me explain.I believe that a standards document should be about how to style code. It should be about where to place curly braces,…

Read this article

The Rules Pattern (How to Drop Your Guard)

In your travels as a programmer, you will more than likely come across a body of code that looks a little something like the following:public bool CheckSystem(Computer computer) { if (computer.Ghz < 3) { return false; } if (computer.Ram < 4) { return false; } if (computer.DiskSpace < 10) { return…

Read this article

Who Moved My Cheese?!

Earlier this morning, I was reminded of an incident that I had with a customer a couple years ago. It went a little something like this:I was working on a web application. It consisted of a tabular grid that displayed information based on search criteria. Very similar to anything…

Read this article

A Comment on Comments

Full disclosure, I really don't like comments.Like any feature of a language, I believe they have their purpose. After all, they were put in the language in the first place. I've just seen a lot of incorrect uses of comments, and the more I run into them, the more…

Read this article