Author Archives: Liz

An example of why IFoo as Foo’s interface is evil and should be punished.

I thought this was worth reposting from the comments of my previous IFoo post. Anybody who does not work in the conventions used by the project is undoing the team’s hard the work to build a clean codebase with a … Continue reading

Posted in Uncategorized | 9 Comments

When you think you’re being watched…

I was chatting to Darren over the partition this morning about this blog, and how much fun I was having starting arguments; about our company newsletter, the article I wrote for it, and whether I should submit my blog entry, … Continue reading

Posted in Uncategorized | 6 Comments

What’s worse than Foo and FooImpl?

IFoo as an interface for Foo. It’s short and ugly, it’s only come into being because no one thought it through at the time, and everyone thinks poorly of it even though they may not say so. If you’re the … Continue reading

Posted in Uncategorized | 17 Comments

The Great Mock Debate continued

First, an apology to Alan: Perryn’s right; by and large we agree. I should have phrased things better (again). That’s what I get for posting on Friday afternoon while trying to do three other things at the same time. I … Continue reading

Posted in Uncategorized | 2 Comments

Mocks and why you have to use them

Alan says you don’t have to use mocks for testing. “No, no, no!” he says. “If you never tested any collaborations with live objects, your rapid feedback test suite had limited use.” That’s true; you don’t have to use mocks … Continue reading

Posted in Uncategorized | 1 Comment

More Context IoC

Thanks go to Ade for providing me with many fun links and this insightful comment: If you find yourself seeing duplicated signatures containing lots of arguments to constructors it usually indicates a missing abstraction which would bring together all those … Continue reading

Posted in Uncategorized | 4 Comments

More Inversion of Control

Followup to Darren’s post about Sam’s posts and my post. If you’re not interested in the detail, skip to the simple rules at the bottom. Darren says: The reason GameFactory needs all that stuff is because it is presumably going … Continue reading

Posted in Uncategorized | 2 Comments

A slightly different approach to Context IoC

I read Sam’s post on Contextl IoC, questioning its benefits. I’ve been skirting around this kind of thing for a while. I like the idea of being able to package all the things which a class needs in a box … Continue reading

Posted in Uncategorized | 1 Comment

The continuing saga of Windows vs. Linux

My Windows partition on my PC fell over last night; not sure why. Might have been something I did whilst trying to mount it (read-only, always read-only) in Ubuntu. Or it could just be sulking because I didn’t put the … Continue reading

Posted in Uncategorized | 5 Comments

Shiny new toys

My shuttle box for my new server arrived this morning, along with some wireless router stuff and my laptop mouse. Why is it that owning shiny new toys always makes me want to buy more shiny new toys? I have … Continue reading

Posted in Uncategorized | Leave a comment