Be prepared to be smacked by the programming clue stick...

Jan 11, 2005 20:20

We have a few hundred articles that have null columns that are causing the application to display errors because the application is written in such a way it expects non-null values. Yet the db tables specifically allow null values and the user interface does not validate and prevent those values from being entered into the application. Good job ( Read more... )

grr, work, techie

Leave a comment

Comments 2

lizature January 12 2005, 01:58:51 UTC
geez, that is shitty programming. At my last job checking for null in our programs was a must have in every possible place, even if we couldn't figure out a way that null could come up. We wouldn't even let shit like that go to QA.

Reply

zehoppa January 12 2005, 05:27:25 UTC
Indeed. It's fundamental to writing good data access code.

Now, I can't wait to teach writing data access code next month. I may just hand out some code to my students similar to what I've seen with this crap. "So, class... What is wrong with this code?" :)

Reply


Leave a comment

Up