
May be you have a class trying to get born
Something along the lines of
doer = new doer;
doer->setP1(value for defaulted P1);
doer->do(must-have parameters);
For simple cases,
new Doer() -> do(...);
or even
Doer::do(...)
--
Less Is More. In my book, About Face, I introduce over 50 powerful design axioms. This is one of them.
--Alan Cooper. The Inmates Are Running the Asylum