22 July 2007
“Agile programming” seems to be all about periodically refactoring everything in order to move ahead to the next stage and get something working in a matter of weeks.
Of course, being a hardcore hacker, I refactor everything and expect it to work in a matter of days Today is a refactoring sort of day, nursing as I am another hangover from a drinking competition between myself and my pseudocoisin Amy last night. Neither of us lost but poor auntie Mel is terribly sick today. Worse luck, it’s Bob Burroughs’ 33rd birthday bash tonight in Newcastle and he’s already booked Monday off work in anticipation of incredible sickness. Bob went to school with Chaz and me back in the 80’s. Chaz went on to do arty stuff; Bob does musicy stuff. Bob might be doing some of the music and sound effects for Treasure Tomb.
Anyway, refactoring.
Not very exciting to read about unfortunately. But the gist of it is this: I realise that if the player is going to be pushing crates around, then the crates are going to need pixel based movement too. So all that code I put into the Player class is now going into an abstract base class called PixelBasedEntity and both Crate and Player will extend it. Thrilling stuff I know.
Music: Cypress Hill - Skull & Bones