Just One More Level of Indirection

9 PM
July 9, 2006

Any problem in computer science can be solved with another layer of indirection. But that usually will create another problem.—David Wheeler

My program had Tools. But there was no way for users to create a tool, so I made a list of ToolDefinitions. Now my client wants to read the definitions from disk, which will have to be done by ToolDefinitionFactories, and deployment considerations require a central, definitive list of available factories, which led me to the ToolDefinitionFactoryWrangler.

Extrapolating present trends, next week will see the unveiling of ToolDefinitionFactoryWranglerManagerManagerManagerManager.