4.4 Summary


In this chapter, we explored other aspects that need to be considered for our final design. They included such coding guidelines as naming conventions, comment styles, indentation style, and header file rules. These are often passionately debated issues, and we offered practical advice to selecting a workable set of guidelines. Next, we discussed reusability and what that means for the design of objects. We also touched briefly on some of the functional and testing issues that arise with reusable components .

And finally, we spent much time discussing a debugging environment that could be integrated into the design of the framework. It offers many advantages, the main one being that it is present in production releases, but requires little overhead. This environment included a generalized debugging stream that outputs debugging information, as controlled by a separate apDebug object, to various sinks (or destinations). During our design and implementation, we explored STL components that were useful in the solution. We extended the environment to allow remote access to objects through an object registry, which is capable of handling many objects.

In Chapter 5, we take a look at the system-level issues that may affect the final image framework design. These issues include multithreaded and multiprocess designs, as well as strategies for using exceptions. We also take the time to explore run-time and compile-time issues, and their effects on performance as it relates to the design. Finally, we touch on adding support for future expansion into non-English and double-byte languages.



Applied C++
Applied C++: Practical Techniques for Building Better Software
ISBN: 0321108949
EAN: 2147483647
Year: 2003
Pages: 59

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net