Skip to main content

Introducing new learning courses and educational videos from Apress. Start watching

Integrating code samples

  • 1065 Accesses

Abstract

Charlotte looked through her draft and the feedback from Karthik. Most edits had been straightforward: fixing a typo here and slightly restructuring the text there. Karthik’s other comments could be grouped into two questions:

This is a preview of subscription content, access via your institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • DOI: 10.1007/978-1-4842-7217-6_5
  • Chapter length: 17 pages
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
eBook
USD   34.99
Price excludes VAT (USA)
  • ISBN: 978-1-4842-7217-6
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
Softcover Book
USD   44.99
Price excludes VAT (USA)

Notes

  1. 1.

    Tom Johnson, “Code Samples,” I’d Rather Be Writing, accessed June 26, 2021, https://idratherbewriting.com/learnapidoc/docapis_codesamples_bestpractices.html.

  2. 2.

    “Creating Great Sample Code.” Google Technical Writing One, accessed on June 15, 2021, https://developers.google.com/tech-writing/two/sample-code.

  3. 3.

    Jarod Reyes, “How Twilio writes documentation,” Signal 2016, YouTube, accessed June 26, 2021, www.youtube.com/watch?v=hTMuAPaKMI4.

  4. 4.

    We’ve used example.com as the Corg.ly domain in line with RFC 676, which permits the use of example.com for documentation, https://tools.ietf.org/html/rfc6761.

  5. 5.

    Seyed Mehdi Nasehi, “What makes a good code sample? A study of programming Q&A in Stack Overflow,” 2013 IEEE International Conference on Software Maintenance, 2012.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and Permissions

Copyright information

© 2021 The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature

About this chapter

Verify currency and authenticity via CrossMark

Cite this chapter

Bhatti, J., Corleissen, Z.S., Lambourne, J., Nunez, D., Waterhouse, H. (2021). Integrating code samples. In: Docs for Developers. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-7217-6_5

Download citation