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 [...]
All posts for the month May, 2010
On Importance of Good Method Names and Paying Attention
Posted by Anna Lear on May 25, 2010
http://annalear.ca/2010/05/25/on-importance-of-good-method-names-and-paying-attention/
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 [...]
Posted by Anna Lear on May 21, 2010
http://annalear.ca/2010/05/21/combobox-selecteditem-vs-selectedvalue-question/
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 [...]
Posted by Anna Lear on May 16, 2010
http://annalear.ca/2010/05/16/replace-paper-with-unit-tests-code-snippets-edition/
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 [...]
Posted by Anna Lear on May 3, 2010
http://annalear.ca/2010/05/03/toronto-code-camp-2010-lessons-learned/