I found this installment of BITW while downloading the current issue of SD Times.

There are actually two bugs (at minimum) on display here

  • The most obvious is that there are two entries in this select box that do not have labels and so just display as ‘s. If I was troubleshooting this I would first look for incomplete records in the database and possibly suggest a ‘no null’ condition be applied to the column. If all the records that should be displayed are, then the likely culprit would seem to be a hardcoding of the records to display. (Or could actually be both.)
  • The other is a grammatical mistake (which if you have ever seen me on IM or IRC you will note the irony of me pointing this out). ‘s indicates possession. For example, Adam’s blog. Doing this sort of dynamic pluralization opens up a world of potential hurt as there are so many edge cases (such as SD Times’ bug). It also means that you cannot (easily) internationalize the site. Interestingly, the first item in the list is correct.