Archive for August, 2009

Preventing the User from Navigating Away from a Dirty Page

A bug popped up in testing today in some code a wrote a few months ago to prevent our users from navigating away from a modified page. When I did my initial testing, I neglected to test the case where the user makes a change to a single control and then clicks the back [...]

Always Ask About the Development Environment During an Interview

BlogCoward had a post this week that stated that the version of Microsoft Office that a company runs can tell you a lot about the “sophistication” of that company.

In the comments, someone commented that the versions of Windows and Internet Explorer they use are also good things to ask about in an interview. I [...]

Why A Developer Needs The Best Possible Hardware

For the last couple of months, I have been navigating the bureaucratic hurdles of my company to justify the purchase of new workstations/laptops for the developer’s on my team. For whatever reason, only one model of workstation and one model of laptop is purchased by my company regardless of job type. So, software [...]

Sorting a Generic List By Object Properties

I found this the other day.  When you need to quickly sort a generic list by some property, this is MUCH simpler then using Comparers.

List<Person> people = repository.GetAll();
people = people.OrderBy(x => x.LastName).ToList();

or

List<Person> people = repository.GetAll();
people [...]

This hits a little too close to home

Except for me, it was German, not French, and beer makes me feel sleepy, not sick. I also prefer to think of myself as self-contained, not uninteresting.

Updated: Resized image for new theme.