bell notificationshomepageloginNewPostedit profile

Topic : Re: What are the benefits of including complete working code samples in documentation When documenting software API so others know how to access the various methods, what data structures are used - selfpublishingguru.com

10% popularity

The purpose of API documentation is to explain how to use the API. Providing sample code of how to use key features is a good way to demonstrate the intended usage.

A good example of this is the ZMQ guide. It has example code in a large number of languages to go with each of the of the concepts discussed.

They combat the bloat by displaying links to the example code in every language the library is supported in. Only when a link is clicked on is the code displayed.


Load Full (0)

Login to follow topic

More posts by @LarsenBagley300

0 Comments

Sorted by latest first Latest Oldest Best

Back to top