Jump to content

User:FenixFeather/sandbox

From Wikipedia, the free encyclopedia

FenixFeather (talk) (Contribs)

Test new signature. – FenixFeather (talk) (Contribs) 20:06, 20 March 2014 (UTC)

FenixFeather (talk)(Contribs) 02:30, 21 March 2014 (UTC)

FenixFeather (talk)(Contribs) 02:42, 21 March 2014 (UTC) – FenixFeather (talk)(Contribs) 09:04, 21 March 2014 (UTC) space

API Documentation Rewrite

[edit]

API documentation describes what services an API offers and how to use those services, aiming to cover everything a client would need to know to use the API. Documentation is crucial for the development and maintenance of applications that use the API.[1] API documentation is traditionally found in documentation files, but can also be found in social media such as blogs, forums, and Q&A websites.[2] Traditional documentation files are often presented via a documentation system, such as Javadoc or Pydoc, that has a consistent appearance and structure. However, the types of content included in the documentation differs from API to API.[3] To facilitate understanding, API documentation can include description of classes and methods in the API as well as "typical usage scenarios, code snippets, design rationales, performance discussions, and contracts", but implementation details of the API services themselves are usually omitted. Restrictions and limitations on how the API can be used are also covered by the documentation. For example, documentation for an API function could note that its parameters cannot be null, or that the function itself is not thread safe.[4] Because API documentation is so comprehensive, it can be difficult for the writers to keep the documentation updated and for the users to read it carefully, potentially resulting in bugs.[5]

References

[edit]
  1. ^ Dekel, Uri; Herbsleb, James D. (May 2009). "Improving API Documentation Usability with Knowledge Pushing". Institute for Software Research, School of Computer Science. Carnegie Mellon University. Retrieved 22 July 2016.
  2. ^ Parnin, Chris; Treude, Cristoph (May 2011). "Measuring API Documentation on the Web" (PDF). Web2SE. Retrieved 22 July 2016.
  3. ^ Maalej, Waleed; Robillard, Martin P. (April 2012). "Patterns of Knowledge in API Reference Documentation" (PDF). IEEE TRANSACTIONS ON SOFTWARE ENGINEERING. Retrieved 22 July 2016.
  4. ^ Monperrus, Martin; Eichberg, Michael; Tekes, Elif; Mezini, Mira (3 December 2011). "What should developers be aware of? An empirical study on the directives of API documentation" (PDF). Empirical Software Engineering. 17 (6): 703–737. doi:10.1007/s10664-011-9186-4. Retrieved 22 July 2016.
  5. ^ Shi, Lin; Zhong, Hao; Xie, Tao; Li, Mingshu (2011). "An Empirical Study on Evolution of API Documentation" (PDF). International Conference on Fundamental Approaches to Software Engineering. Springer Berlin Heidelberg. Retrieved 22 July 2016.