API Design for C++ by Martin Ry
API Design for C++ Martin Ry ebook
Page: 446
Format: pdf
Publisher: Morgan Kaufmann
ISBN: 0123850037, 9780123850034
Compare this to what you can do with C++ mixins, there's a lot more to it than just delegating interface members to other objects. With this book, you will learn how to design a good API for large-scale long-term projects. Ɯ近のC++お勧め本 - 『API Design for C++』. In fact, the 1st tier customer of the API tester is the developer who designed and develops the API. Coming from an c++/C# background, this is more my style of development. Sue is designing a JavaScript library, Magician.js . With that in mind, she could design her API like so: . You can't simply return the result of the operation, since it isn't ready yet. The strictly virtuous thing to do would be to take the time to have a lot of discussions and design a brand new C++ API that would remain stable for the future. Now we have the same API for the simple (and invasive) scenario, but with minimal effort, we have made it possible to use non invasive and smart approaches. Public class Customers : Versioned