« May 2008 | Main Archive | July 2008 »

And the results are in...

 

triathlon_results1.png

We have some great results from the recent triathlon posts (see Part 1, Part 2, and Part 3 here). To inspire some of you who are still watching on the sidelines, here are some of our favorite responses so far.

Continue reading "And the results are in..." »

Posted by Caitrin McCullough on Tuesday, Jun 10 | Comments (2)

Unit testing and the narrowly averted Citicorp Center disaster

(This post was syndicated from Building Better Software.)

it-was-almost-a-disaster.png

I was working on a project earlier today. Now, typically I always do test-driven development, where I'll build unit tests that verify each class first and then build the code for the class after the tests are done. But once in a while, I'll do a small, quick and dirty project, and I'll think to myself, "Do I really need to write unit tests?" And then, as I start building it, it's obvious: yes, I do. It always comes at a point where I've added one or two classes, and I realize that I have no idea if those classes actually work. I'll realize that I've written a whole bunch of code, and I haven't tested any of it. And that starts making me nervous. So I turn around and start writing unit tests for the classes I've written so far… and I always find bugs. This time was no exception.

This time, for some reason, that exercise reminded me of the story of the nearly disastrous Citicorp Center building.

Continue reading "Unit testing and the narrowly averted Citicorp Center disaster" »

Posted by Andrew Stellman on Thursday, Jun 5 | Comments (0)

RSS Feed
Now Available:
Head First SQL


Head First SQL Cover

Is your data dragging you down? Are your tables all tangled up? Well we've got the tools to teach you just how to wrangle your databases into submission. Available now in bookstores everywhere!

Coming Soon:
Head First C#

Head First C# Cover

Finally, there's a bright alternative to the legions of dull C# tutorials. Head First C# gives beginning programmers a way to learn Microsoft's popular object-oriented language without boring you with a pile of dry technical material.