That Error Checking Issue
Posted in Tech
First watch, 3 bells (9:38 pm)

I've been thinking about the error checking issue I mentioned the other day. And I've talked to several of the other people at work, and they agree that the best thing to do is to ensure that the error-causing issue doesn't come up. I think the easiest way (thanks, Jeff) is to return all the information that the query generates immediately. So I spent some time yesterday evening and today rewriting two different MySQL wrapper classes (one for work, one for a personal project).

I'm much happier with the code now. If anything, it's cleaner than it was before. Certainly easier to use, as well. I was also able to cut out a lot of excess functionality that became obsolete. So, by my calculations, more stable + faster + easier to debug + smaller codebase = WIN.

Leave a Comment »