August 2003
-
:
FX refactoring
Bleugh! You are lost in a maze of crapy code, all alike (and much of it copy and pasted!). The last few days have been deep in the heart of darkness. Gently teasing the business logic and the display logic of the FX code apart so that we … -
:
The Black Stuff
We had a busy weekend. Michelle’s brother Chris married Hilary in Dublin. Good fun was had by all and it was a wonderful few days. The wedding was in Castleknock and the reception was at The Four Seasons in Ballsbridge. It was a bit … -
:
Skate Adicts
We couldn’t skate last weekend as we were in Dublin at the wedding. This weekend was going to be really hot in London (35C+) which isn’t ideal skating weather. We decided to get up a bit early and skate before it got too … -
:
The first FX test
On Friday we got to the point where the FX buiness logic code was suitably decoupled from the display logic that we could write our first test for the business logic. In the words of Homer Simpson, “Woo hoo!”. Test one was a … -
:
Here comes the snow...
So, it’s been 35c here in London for the last week and, strangely, my thoughts have turned to snow… We’re off to Saas Fee in September and I’m starting to do the ‘check the resort web cam daily’ thing. … -
:
You'll tick when I say so and not before!
Today we wrote some complicated FX business logic tests. Things like making sure that the FX library can calculate a EURUSDCAD 1M rate - it can; or a USDCAD ON rate - it can’t and nobody had spotted the fact that it was out because … -
:
Writing tests for new code vs writing tests for legacy code
I was working for my poker game client yesterday. This project now seems to be firmly test first. What was interesting with yesterday’s work was how the tests drove the design and how when I finally came to integrate the tested code … -
:
FogBUGZ
We’re approaching the end of this phase of the poker game project. The client has started reporting lots of little things that don’t quite work how he’d like them to. Some are bugs, most are feature requests, either way … -
:
FX Testing
By Friday our FX test harness was pretty much complete. We had coverage for all the nasty special cases that had caused us problems in the last few weeks. They were the hard things to write tests for so we wrote those tests first. If we can … -
:
Art - by Catherine Purves
We first saw Catherine Purves’ work at a Hoxton art show, both of us loved the colour and texture of the pieces. We saw more of her work whilst visiting other local art shows but none of the pieces were quite right for the spaces that … -
:
Decoupling the FX GUI
The rates engine was now easy to test but the interaction between the engine and the user wasn’t. This was unfortunate as the interaction is reasonably complex. We hadn’t built and tests for any of the GUI code yet, last week we … -
:
You can lead a horse to water...
Although the other developers on the refactoring project agree that the code needs to be made better sometimes they don’t seem to bother to make changes in a way that improves things… This week a major new piece of …