Archive | tdd RSS for this section

SMART Tests Outwit Bugs

This post was imported from blogger, to see the original, likely better-formatted post see kalebpederson.blogspot.com. >With the new year come the typical thoughts of goals and resolutions.  I have come across the SMART acronym many times.  It states that goals should be: SpecificMeasurableAttainableReasonableTimely After some thought, I realized that this also applies to tests. Specific […]

Continue Reading

TDD: the Failed Panacea

This post was imported from blogger, to see the original, likely better-formatted post see kalebpederson.blogspot.com. >Yes, I admit it.  TDD is not a panacea; it fails as a cure-all. Some bigots might claim it is (and, yes, I probably sound like a bigot every now and then), but TDD isn’t perfect. Over the last few […]

Continue Reading

Featuritis: Cleaving to the Big Picture

This post was imported from blogger, to see the original, likely better-formatted post see kalebpederson.blogspot.com. >A gray rubber mat sat in front of me as I figured out the rough dimensions needed so it would fit snugly in our car. Once I knew where the various slits and slots needed to be, I grabbed a […]

Continue Reading

Bad Layered Architecture

This post was imported from blogger, to see the original, likely better-formatted post see kalebpederson.blogspot.com. >I recently discovered something I should have realized a long time ago — Layers are less about modularity and more about isolation.I’ve been working on a compiler that I’ll describe as four different layers.  It could be depicted graphically as […]

Continue Reading

Overwhelming Complexity

This post was imported from blogger, to see the original, likely better-formatted post see kalebpederson.blogspot.com. >Joel Spolsky recently wrote about how he “was reminded of why student projects, while laudatory, frequently fail to deliver anything useful,” which made me reflect on some of my experiences as a student of computer science at Eastern Washington University. I […]

Continue Reading

Don’t Architect, Refactor

This post was imported from blogger, to see the original, likely better-formatted post see kalebpederson.blogspot.com. >The test-driven development mantra is “red, green, refactor,” but we far too often let other things creep into the process.  One of these things is domain knowledge. Back in February, Gojko Adzik described his experience with Keith Braithwaite‘s “TDD as […]

Continue Reading

Test-Driven Development Justified

This post was imported from blogger, to see the original, likely better-formatted post see kalebpederson.blogspot.com. >I stood in shock, in utter awe and amazement.  I was talking with one of the lead programmers of an open source project, with whom I’d been in discussions countless times over the last few years.  He was a programmer […]

Continue Reading

Beans, Ping-Pong Balls, and Priorities

This post was imported from blogger, to see the original, likely better-formatted post see kalebpederson.blogspot.com. > Not too long ago I found my wife placing ping-pong balls followed by beans into a canning jar. After briefly trying to reason about what she might be doing, I asked her.  She explained that she was preparing a […]

Continue Reading