View previous topic :: View next topic |
Author |
Message |
TomWij Retired Dev
Joined: 04 Jul 2012 Posts: 1553
|
Posted: Mon Aug 19, 2013 8:27 am Post subject: |
|
|
schorsch_76 wrote: | dmitchell wrote: |
These sound like good candidates for constructor parameters or a policy-based design (though I find policy-based design better in theory than in practice). |
They are good, but it must be really orthogonal to the other stuff. See Alexandrescu "Modern C++ Design: Generic Programming and Design Patterns Applied" Ch1. "Policy based class design"
In Practice the problems which are needed to solve, are not orthogonal, so an other solution is better |
Exactly, the last quote he made still sounds mostly exception handling to me; there might be an exception on the list, but I agree that policy based design doesn't seem like an appropriate fit. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|