Gordon Brown - Systems Design Hero
Gordon has become my new role model of change-driven design. Or design-driven change. Or something. Here's his latest brilliant statement:
"If there is a change to be made in the system and the system has failed, we will change the system."
Let's just see that again in code:
if (
calculateAllPossibleChanges( system ).getSize() > 0
&&
system.getErrors().getSize() > 0
) {
change( system )
}
protected void change( MutableSystem system ) {
// TODO
}
Erm….Kris, I think the code is missing a parameter: .changeVAT)
But, isn’t Gordon Brown is part of the system? If only the exception handling worked better…
protected void doPolitics() { while ( years < 4 ) { try { change( system ); } catch ( Exception incompetencyException ) { throw new Election(); } } }Post new comment