Monthly Archives: December 2004

Having ideas

I’m increasingly coming to believe that there’s no such thing as a bad idea. They tend to generate good ideas, or cause changes which help to generate better ideas in future. The only danger is that occasionally, bad ideas get … Continue reading

Posted in Uncategorized | Leave a comment

Expectation vs testing

Behaviour-driven-design advocate Manish and I have just had a chat over IM. He’s pointed out to me that checking things after the event is just testing, whereas anticipating things before the event is design. Design is good. Bugfixing is a … Continue reading

Posted in Uncategorized | Leave a comment

Mocks and expectations

JBehave’s Story Runner runs through scenarios as follows: Given a context When an event happens Then this outcome occurs. So you’d think it would visit these in the order “context, event, outcome”. Unfortunately, the mocks all have to be set … Continue reading

Posted in Uncategorized | 6 Comments

Green Bar!

Today I wrote my first TDD test (with help from my pair partner, obviously). It was fun watching it fail, then fixing it so it failed the way we expected, then fixing the code to make it pass. The code … Continue reading

Posted in Uncategorized | 2 Comments

My first Wiki page

Today I wrote my first proper Wiki page. I did this because someone gave me a set of instructions in the form of some scribbled notes, and I realised that I’d need to write them down to make head or … Continue reading

Posted in Uncategorized | Leave a comment

JBehave and Hellbound

The first program other than HelloWorld which I ever wrote in Java was a very simple version of Tetris. My OO design was nonexistent, but it enabled me to explore the language and trawl through the APIs. Goodness knows where … Continue reading

Posted in Uncategorized | Leave a comment

Naming interfaces and implementations

After reading Chris Matt’s comments on interfaces, I started noticing all kinds of FooImpl classes in the code over here. As far as I can tell, the only reason for using …Impl for a class name is because the Foo … Continue reading

Posted in Uncategorized | 13 Comments