O'Reilly logo

API Design for C++ by Martin Reddy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4

Design

Publisher Summary

This chapter focuses on the techniques that result in elegant API design. It analyzes the various qualities that contribute to good API design and looks at standard design patterns that apply to the design of maintainable APIs. It puts all information together and covers the specifics of high-quality API design, from overall architecture planning down to class design and individual function calls. However, good design is worth little if the API doesn’t give users the features they need. The chapter reviews the functional requirements to specify what an API should do and also specifically covers the creation of use cases and user stories as a way to describe the behavior of the API from the user’s point of view. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required