On Importance of Good Method Names and Paying Attention

I spent a somewhat frustrating hour at work today trying to plot a straight line on a chart using a framework that shall remain nameless. I quickly had the slope and the y-intercept worked out and all I needed were two x values to plug into the equation to calculate some points. I already had [...]

ComboBox SelectedItem vs SelectedValue Question

Annoying discovery of the day: The following code works as you’d expect — MyProperty on the model is updated when the user picks a new item in the dropdown. The following, however, doesn’t work the same way and the model update isn’t triggered until the input focus moves to another control on the form: Does [...]

Replace Paper with Unit Tests: Code Snippets Edition

In my previous post about making mental notes about condition tests or new features through unit tests I offered an example of making a live template in ReSharper to automate some of the process. This post is about achieving a similar thing in plain Visual Studio with the help of the Code Snippets feature. Introduction [...]

Toronto Code Camp 2010: Lessons Learned

This weekend I had the great opportunity to attend Toronto Code Camp 2010. It was my first code camp and my first major dev-related event, so I was pretty excited all around. I’m happy to say it didn’t disappoint. Over the next few days I’ll post some of the notes I’ve made and/or links to [...]

Follow

Get every new post delivered to your Inbox.

Join 300 other followers