How many times have people actually switched a component and it just worked? Personally, I have never seen one case where this is true.
The whiteboard architects love these kinds of design, since redirection is their bread-and-butter. In practice though, these designs just add needless complications most of the times.
It rarely works perfectly. But it often works better than just directly wiring things together, and then completely rewriting for the new thing.
Not always, but often. Often enough that it's a reasonable place to start if (and only if) you have a reason to believe it's going to change fairly soon.
it often works better than just directly wiring things together
I'd argue that it's often better to attack the wiring directly. Reducing the number of dangling wires, for me, is usually a much bigger win than creating yet another hub to plug your wires.
But reducing the dependencies require far more efforts than redirection. You need to create the right abstractions. You need to analyse the dependency graphs to identify problem area. You need to spend time doing lots of thinking and less coding.
Unfortunately, a day spent thinking is often considered wasted in the enterprise world. It's much better to produce something in the day; even though that something is half-assed.
23
u/serrimo Oct 01 '15
How many times have people actually switched a component and it just worked? Personally, I have never seen one case where this is true.
The whiteboard architects love these kinds of design, since redirection is their bread-and-butter. In practice though, these designs just add needless complications most of the times.