SlideShare a Scribd company logo
Writing code samples for API/SDK documentation
About me
 Started doing API/SDK documentation a little more
than a year ago at a Silicon Valley startup
 Am still learning a ton, but enjoy
this type of documentation a lot.
 English major, writing background
 First time presenting on this topic
 Question format
1. What are code
samples?
 Usually supplementary material that accompanies
API or SDK reference documentation (particularly
SDK).
 Can be short or lengthy, full of comments and
explanation or without any explanation at all.
 Great example on jquery's documentation here:
http://api.jquery.com/each/
 Another good example:
http://docs.oracle.com/javase/tutorial/java/javaOO/cl
asses.html
Writing code samples for API/SDK documentation
Writing code samples for API/SDK documentation
Head First Java, 2nd Edition
2. Why add code
samples?
 Code samples are in another language. If audience
speaks the language, the code communicates more
clearly.
 Examples are much more efficient than trying to
describe syntax and methods in a narrative way.
 Programmers often skip right to the examples to see
how something is to be done.
 Examples illustrate how your product works in an
immediate and clear way.
3. Which language should
the code samples be in?
"I would say at least half of web APIs do not have
sample code available because once you provide it in
one language, developers will want sample code in
Java, C#, Ruby, Python, Objective-C, PHP, etc. which is
often not practical to provide. (The beauty of web APIs
is that they can be called from almost any language;
this is also a huge problem when it comes to sample
code.) Instead of sample code, web API documentation
often just shows sample requests and responses." –
Peter Gruenbaum, SDK Bridge, Linkedin thread.
4. Do I need to be a
programmer to write code
samples?
"… a writer must know enough programming to both read
(and understand) code samples AND create their own
code samples for the documentation. As others have
mentioned, that doesn't require being a full-fledged
programmer, but you need some solid programming
knowledge. It is just like any other documentation project
in my mind -- when I document software products, I use
the product as an end user would to ensure that I
understand what they need to know. For an API, if I'm
writing the doc myself (as opposed to editing doc
someone else wrote), I want to use the API as a developer
would, for the same reason." -- Sara Schertz, Tech Writer /
5. If I could write code,
wouldn't I be a developer?
"We don’t need to be code ninjas. The code in an
illustrative sample is not the same thing as the
production-ready code in an application. … A code
sample is a piece of syntactically correct and
semantically useful code, written to illustrate the
functionality and usage of an API or a developer tool.
The code sample provides a stepping stone between
the conceptual overviews in the developer’s guide, and
the complex implementation required for a production-
ready application." – Sarah Maddox, API technical writer
at Google
6. How do you know what's
obvious without a dev
bckgrnd?
flickr
7. Can I just get all code
samples from engineers?
flickr
8. How can I learn
programming?
 safariflow.com
 safaribooksonline.com
 lynda.com
 teamtreehouse.com
 codeschool.com
 udemy.com
9. How can I keep my
brain from exploding?
10. Are code samples hard
to write?
11. How do I add
comments in code?
Head First Java, 2nd Edition
Head First Java, 2nd Edition
Writing code samples for API/SDK documentation
12. How do I provide
instructions for lengthy
samples?
 Build it up as a story
 Or describe it section by
section after providing
the full code.
13. How do you explain
code that is non-linear?
14. Shouldn't I show our
product's full capabilities?
flickr
15. Where do you put
code samples?
 Option 1: Separate from the reference material?
Keeps reference material clean and minimal, but not
as integrated.
 Option 2: Integrated within each method or class?
Makes sense from an organizational point of view,
but makes doc bulky.
 Option 3: Brief examples in reference material, with
lengthier examples in a separate area.
16. Can I adopt a playful,
irreverent tone with dev
doc?
"Code can always be a little more stressful than we
would like, so don't be afraid to inject some humor into
your comments. As far as brightening up someone's day
when they're eyeballs deep in code, it doesn't get much
better than reading a funny comment someone left. I've
even caught myself laughing at comments I've written in
the past. It's always a nice surprise and lightens the
mood."
-- Chapter 9, Code Design, Learning JavaScript, by Tim
Wright.
17. What's the best way to
review code with
engineers?
flickr
18. If I can get code to run
myself, why review it?
 Performance
 Memory
 Inefficiency
 Best practices
19. How can I make my
code samples readable?
20. How do I avoid tedious
updates with new
releases?
Writing code samples for API/SDK documentation
References/Attributions
The following are references to images and quotes used in this presentation. The numbers (e.g., "Question 4")
correspond to the numbers on the slide titles, not necessarily the slide position in the slidedeck.
Question 1. (3rd screenshot) Head First Java, 2nd Edition, by Bert Bates; Kathy Sierra. Published by O'Reilly
Media, Inc., 2005
Question 3. "Do you need to know how to program to document web APIs?". Peter Peter Gruenbaum. Linkedin
thread. https://www.linkedin.com/groups/Do-you-need-know-how-4219315.S.5872831609228509188
Question 4. "Do you need to know how to program to document web APIs?" Sara Schertz, Tech Writer / Bus.
Analyst, Linkedin thread. https://www.linkedin.com/groups/Do-you-need-know-how-
4219315.S.5872831609228509188
Question 5. – "How to write helpful code samples." Sarah Maddox. STC Intercom September 2014 (forthcoming)
Question 6. “Industrious engineering students (undated)” by pellethepoet Licensed under a Creative Commons
Attribution 2.0 Generic. Accessed 28 May 2014. https://www.flickr.com/photos/pellethepoet/12097798504/
Question 7. “Industrious engineering students (undated)” by pellethepoet. Licensed under a Creative Commons
Attribution 2.0 Generic. Accessed 28 May 2014. https://www.flickr.com/photos/hackny/5685399451/
Question 10. "How to Solve Sudoku Puzzles Quickly and Reliably" by Conor Murphy, Accessed 28 May 2014.
http://www.bigfishgames.com/blog/how-to-solve-sudoku-puzzles-quickly-and-reliably/
Question 11. Head First Java, 2nd Edition, by Bert Bates; Kathy Sierra. Published by O'Reilly Media, Inc., 2005.
Question 12. “Storyteller” by Kate. Licensed under a Creative Commons Attribution 2.0 Generic. Accessed 28
May 2014. https://www.flickr.com/photos/tylluan/7579135/
Question 13. “Christmas #30” by Kevin Dooley. Licensed under a Creative Commons Attribution 2.0 Generic.
Accessed 28 May 2014. https://www.flickr.com/photos/pagedooley/5208532605/
Question 14. “Fireworks” by sj liew. Licensed under a Creative Commons Attribution 2.0 Generic. Accessed 28
May 2014. https://www.flickr.com/photos/sjliew/1286426141/
Question 16. "Code Design" (Chapter 9). Learning JavaScript, by Tim Wright.
Question 17. “Engineering” by Saint Louis University. Licensed under a Creative Commons Attribution 2.0
Generic. Accessed 28 May 2014. https://www.flickr.com/photos/slumadridcampus/6263551146/
Question 20. “what people throw away” by scorpions and centaurs. Licensed under a Creative Commons
Attribution 2.0 Generic. Accessed 28 May 2014. https://www.flickr.com/photos/sshb/3138725794/

More Related Content

What's hot (19)

PPTX
Publishing API documentation -- Presentation
Tom Johnson
 
PPTX
API Documentation -- Presentation to East Bay STC Chapter
Tom Johnson
 
PPTX
Publishing strategies for API documentation
Tom Johnson
 
PPTX
STC Summit 2015: API Documentation, an Example-Based Approach
Lois Patterson
 
PDF
Microservices with Swagger, Flask and Docker
Dhilipsiva DS
 
PDF
Play framework: lessons learned
Peter Hilton
 
PDF
Rowdy Rabouw - Unleash your web skills on native
OdessaJS Conf
 
PDF
Process-oriented reactive service architecture
Peter Hilton
 
PDF
Developing an Ember Test Strategy - EmberConf 2019
Todd Jordan
 
PPTX
Creating and Maintaining an Open Source Library
Nicholas Schweitzer
 
PPTX
Java vs python
Rutuja Gholap
 
PDF
Gsm library for proteus the engineering projects
ZerihunDemere
 
PDF
API presentation
Carlos Justiniano
 
PDF
Hack in the Box GSEC 2016 - Reverse Engineering Swift Applications
eightbit
 
PDF
HTTP demystified for web developers
Peter Hilton
 
PPTX
Tech breakfast 18
James Leone
 
PPTX
Learn java theory presentation
Mark John Lado, MIT
 
DOC
JAVA Developer_Resume_Vaibhav Srivastav
Vaibhav Srivastav
 
PDF
API Documentation Meetup 2016, London
Christian Heidenreich
 
Publishing API documentation -- Presentation
Tom Johnson
 
API Documentation -- Presentation to East Bay STC Chapter
Tom Johnson
 
Publishing strategies for API documentation
Tom Johnson
 
STC Summit 2015: API Documentation, an Example-Based Approach
Lois Patterson
 
Microservices with Swagger, Flask and Docker
Dhilipsiva DS
 
Play framework: lessons learned
Peter Hilton
 
Rowdy Rabouw - Unleash your web skills on native
OdessaJS Conf
 
Process-oriented reactive service architecture
Peter Hilton
 
Developing an Ember Test Strategy - EmberConf 2019
Todd Jordan
 
Creating and Maintaining an Open Source Library
Nicholas Schweitzer
 
Java vs python
Rutuja Gholap
 
Gsm library for proteus the engineering projects
ZerihunDemere
 
API presentation
Carlos Justiniano
 
Hack in the Box GSEC 2016 - Reverse Engineering Swift Applications
eightbit
 
HTTP demystified for web developers
Peter Hilton
 
Tech breakfast 18
James Leone
 
Learn java theory presentation
Mark John Lado, MIT
 
JAVA Developer_Resume_Vaibhav Srivastav
Vaibhav Srivastav
 
API Documentation Meetup 2016, London
Christian Heidenreich
 

Viewers also liked (20)

KEY
20110611 Facebook Case Study
Yuki MAEJIMA
 
PDF
Wtf is API and SDK
Dmytro Lobanov
 
PPTX
The better PHP API (EN)
boen_robot
 
PPTX
The future-of-netflix-api
Daniel Jacobson
 
PDF
Beyond Tweets & Likes: The Future of Word-of-Mouth
Ambassador
 
PDF
PIXNET iOS SDK @OSDC 2014
Cloud Sung
 
PPT
The Marketing Playbook for API & SDK Adoption
Kate Pietrelli
 
PPTX
API Strategy Evolution at Netflix
Michael Hart
 
PDF
LNUG - A year with AWS
Andrew Clarke
 
PDF
Boletin Septiembre - Destacan trabajo del CNE en procesos electorales
Dra. Roxana Silva Ch.
 
PPT
Aplicación CRM Analytics (spanish)
Stratebi
 
PPT
Protecting Your SsaSets 01.07.10
michael keyes
 
PPT
Twitter työkäytössä
Karoliina Luoto
 
PDF
Lionel Barzon III: Four Digital Skills For Your Career
Lionel Barzon III
 
PPTX
El periodico en el aula
Daniele Mendonça de Chaves
 
PDF
Git Quick Intro
Corneliu Claudiu Prodescu
 
PDF
jQuery sans jQuery
goldoraf
 
PDF
"Machinima: Symbiosis of the Participatory Digital Culture and the Game Indus...
Sherry Jones
 
PPT
2011년도 원광대학교 컴퓨터공학과 소개자료
창여 김창여
 
PDF
A Creative Design Agency & Printing Press
KS Designers
 
20110611 Facebook Case Study
Yuki MAEJIMA
 
Wtf is API and SDK
Dmytro Lobanov
 
The better PHP API (EN)
boen_robot
 
The future-of-netflix-api
Daniel Jacobson
 
Beyond Tweets & Likes: The Future of Word-of-Mouth
Ambassador
 
PIXNET iOS SDK @OSDC 2014
Cloud Sung
 
The Marketing Playbook for API & SDK Adoption
Kate Pietrelli
 
API Strategy Evolution at Netflix
Michael Hart
 
LNUG - A year with AWS
Andrew Clarke
 
Boletin Septiembre - Destacan trabajo del CNE en procesos electorales
Dra. Roxana Silva Ch.
 
Aplicación CRM Analytics (spanish)
Stratebi
 
Protecting Your SsaSets 01.07.10
michael keyes
 
Twitter työkäytössä
Karoliina Luoto
 
Lionel Barzon III: Four Digital Skills For Your Career
Lionel Barzon III
 
El periodico en el aula
Daniele Mendonça de Chaves
 
Git Quick Intro
Corneliu Claudiu Prodescu
 
jQuery sans jQuery
goldoraf
 
"Machinima: Symbiosis of the Participatory Digital Culture and the Game Indus...
Sherry Jones
 
2011년도 원광대학교 컴퓨터공학과 소개자료
창여 김창여
 
A Creative Design Agency & Printing Press
KS Designers
 
Ad

Similar to Writing code samples for API/SDK documentation (20)

PPTX
Documenting APIs With Cats; GlueCon 2015
Avalara Developers
 
PPTX
Documenting APIs with Cats
Anya Stettler
 
PDF
Crowd Documentation - How Programmer Social Communities are Flipping Software...
Chris Parnin
 
PPTX
Documenting APIs: Sample Code and More (with many pictures of cats)
Anya Stettler
 
PDF
apidays LIVE India 2022_Creating API documentation for international communit...
apidays
 
PDF
Java Full Stack Developer Interview Questions PDF By ScholarHat
Scholarhat
 
PDF
Creating API documentation for international communities
Pronovix
 
PDF
Moving into API documentation writing
Ellis Pratt
 
PPTX
Engaging a Developer Audience: Documentation and More
Anya Stettler
 
PPTX
Android Application WebAPI Development Training
OESF Education
 
PDF
The Developers World
Ronald Northrip
 
PPTX
Learnadvancedjavaprogramming 131217055604-phpapp02
Hardeep Kaur
 
PDF
Documentation avoidance for developers
Peter Hilton
 
ODP
Documenting Code - Patterns and Anti-patterns - NLPW 2016
Søren Lund
 
KEY
Skillshare - From Noob to Tech CEO - nov 7th, 2011
Kareem Amin
 
PDF
Learning to code in 2020
Nicholas Sterling
 
ODP
Documenting code yapceu2016
Søren Lund
 
PDF
Crash Course HTML/Rails Slides
Udita Plaha
 
PDF
Voxxed Days Thessaloniki 2016 - Documentation Avoidance
Voxxed Days Thessaloniki
 
PPTX
Building a developer documentation wiki
Sarah Maddox
 
Documenting APIs With Cats; GlueCon 2015
Avalara Developers
 
Documenting APIs with Cats
Anya Stettler
 
Crowd Documentation - How Programmer Social Communities are Flipping Software...
Chris Parnin
 
Documenting APIs: Sample Code and More (with many pictures of cats)
Anya Stettler
 
apidays LIVE India 2022_Creating API documentation for international communit...
apidays
 
Java Full Stack Developer Interview Questions PDF By ScholarHat
Scholarhat
 
Creating API documentation for international communities
Pronovix
 
Moving into API documentation writing
Ellis Pratt
 
Engaging a Developer Audience: Documentation and More
Anya Stettler
 
Android Application WebAPI Development Training
OESF Education
 
The Developers World
Ronald Northrip
 
Learnadvancedjavaprogramming 131217055604-phpapp02
Hardeep Kaur
 
Documentation avoidance for developers
Peter Hilton
 
Documenting Code - Patterns and Anti-patterns - NLPW 2016
Søren Lund
 
Skillshare - From Noob to Tech CEO - nov 7th, 2011
Kareem Amin
 
Learning to code in 2020
Nicholas Sterling
 
Documenting code yapceu2016
Søren Lund
 
Crash Course HTML/Rails Slides
Udita Plaha
 
Voxxed Days Thessaloniki 2016 - Documentation Avoidance
Voxxed Days Thessaloniki
 
Building a developer documentation wiki
Sarah Maddox
 
Ad

More from Tom Johnson (6)

PPTX
API Documentation presentation to East Bay STC Chapter
Tom Johnson
 
PPTX
Perfecting the audio narration in instructional video
Tom Johnson
 
PPTX
Why users can't find answers in help material -- STC Sacramento presentation
Tom Johnson
 
PPTX
Why users can't find answers in help material
Tom Johnson
 
PPTX
Make Your Content More Findable When Users Browse and Search
Tom Johnson
 
PDF
Producing Professional Sounding Audio in Video Tutorials
Tom Johnson
 
API Documentation presentation to East Bay STC Chapter
Tom Johnson
 
Perfecting the audio narration in instructional video
Tom Johnson
 
Why users can't find answers in help material -- STC Sacramento presentation
Tom Johnson
 
Why users can't find answers in help material
Tom Johnson
 
Make Your Content More Findable When Users Browse and Search
Tom Johnson
 
Producing Professional Sounding Audio in Video Tutorials
Tom Johnson
 

Recently uploaded (20)

PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
Advancing WebDriver BiDi support in WebKit
Igalia
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PPTX
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
PPTX
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
July Patch Tuesday
Ivanti
 
PDF
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
DOCX
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PDF
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
PDF
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PDF
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
PDF
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
Advancing WebDriver BiDi support in WebKit
Igalia
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
The Project Compass - GDG on Campus MSIT
dscmsitkol
 
Building Search Using OpenSearch: Limitations and Workarounds
Sease
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
July Patch Tuesday
Ivanti
 
Building Real-Time Digital Twins with IBM Maximo & ArcGIS Indoors
Safe Software
 
Python coding for beginners !! Start now!#
Rajni Bhardwaj Grover
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
Jak MŚP w Europie Środkowo-Wschodniej odnajdują się w świecie AI
dominikamizerska1
 
IoT-Powered Industrial Transformation – Smart Manufacturing to Connected Heal...
Rejig Digital
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
What Makes Contify’s News API Stand Out: Key Features at a Glance
Contify
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
CIFDAQ Market Wrap for the week of 4th July 2025
CIFDAQ
 
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 

Writing code samples for API/SDK documentation

  • 2. About me  Started doing API/SDK documentation a little more than a year ago at a Silicon Valley startup  Am still learning a ton, but enjoy this type of documentation a lot.  English major, writing background  First time presenting on this topic  Question format
  • 3. 1. What are code samples?  Usually supplementary material that accompanies API or SDK reference documentation (particularly SDK).  Can be short or lengthy, full of comments and explanation or without any explanation at all.  Great example on jquery's documentation here: http://api.jquery.com/each/  Another good example: http://docs.oracle.com/javase/tutorial/java/javaOO/cl asses.html
  • 6. Head First Java, 2nd Edition
  • 7. 2. Why add code samples?  Code samples are in another language. If audience speaks the language, the code communicates more clearly.  Examples are much more efficient than trying to describe syntax and methods in a narrative way.  Programmers often skip right to the examples to see how something is to be done.  Examples illustrate how your product works in an immediate and clear way.
  • 8. 3. Which language should the code samples be in? "I would say at least half of web APIs do not have sample code available because once you provide it in one language, developers will want sample code in Java, C#, Ruby, Python, Objective-C, PHP, etc. which is often not practical to provide. (The beauty of web APIs is that they can be called from almost any language; this is also a huge problem when it comes to sample code.) Instead of sample code, web API documentation often just shows sample requests and responses." – Peter Gruenbaum, SDK Bridge, Linkedin thread.
  • 9. 4. Do I need to be a programmer to write code samples? "… a writer must know enough programming to both read (and understand) code samples AND create their own code samples for the documentation. As others have mentioned, that doesn't require being a full-fledged programmer, but you need some solid programming knowledge. It is just like any other documentation project in my mind -- when I document software products, I use the product as an end user would to ensure that I understand what they need to know. For an API, if I'm writing the doc myself (as opposed to editing doc someone else wrote), I want to use the API as a developer would, for the same reason." -- Sara Schertz, Tech Writer /
  • 10. 5. If I could write code, wouldn't I be a developer? "We don’t need to be code ninjas. The code in an illustrative sample is not the same thing as the production-ready code in an application. … A code sample is a piece of syntactically correct and semantically useful code, written to illustrate the functionality and usage of an API or a developer tool. The code sample provides a stepping stone between the conceptual overviews in the developer’s guide, and the complex implementation required for a production- ready application." – Sarah Maddox, API technical writer at Google
  • 11. 6. How do you know what's obvious without a dev bckgrnd? flickr
  • 12. 7. Can I just get all code samples from engineers? flickr
  • 13. 8. How can I learn programming?  safariflow.com  safaribooksonline.com  lynda.com  teamtreehouse.com  codeschool.com  udemy.com
  • 14. 9. How can I keep my brain from exploding?
  • 15. 10. Are code samples hard to write?
  • 16. 11. How do I add comments in code? Head First Java, 2nd Edition
  • 17. Head First Java, 2nd Edition
  • 19. 12. How do I provide instructions for lengthy samples?  Build it up as a story  Or describe it section by section after providing the full code.
  • 20. 13. How do you explain code that is non-linear?
  • 21. 14. Shouldn't I show our product's full capabilities? flickr
  • 22. 15. Where do you put code samples?  Option 1: Separate from the reference material? Keeps reference material clean and minimal, but not as integrated.  Option 2: Integrated within each method or class? Makes sense from an organizational point of view, but makes doc bulky.  Option 3: Brief examples in reference material, with lengthier examples in a separate area.
  • 23. 16. Can I adopt a playful, irreverent tone with dev doc? "Code can always be a little more stressful than we would like, so don't be afraid to inject some humor into your comments. As far as brightening up someone's day when they're eyeballs deep in code, it doesn't get much better than reading a funny comment someone left. I've even caught myself laughing at comments I've written in the past. It's always a nice surprise and lightens the mood." -- Chapter 9, Code Design, Learning JavaScript, by Tim Wright.
  • 24. 17. What's the best way to review code with engineers? flickr
  • 25. 18. If I can get code to run myself, why review it?  Performance  Memory  Inefficiency  Best practices
  • 26. 19. How can I make my code samples readable?
  • 27. 20. How do I avoid tedious updates with new releases?
  • 29. References/Attributions The following are references to images and quotes used in this presentation. The numbers (e.g., "Question 4") correspond to the numbers on the slide titles, not necessarily the slide position in the slidedeck. Question 1. (3rd screenshot) Head First Java, 2nd Edition, by Bert Bates; Kathy Sierra. Published by O'Reilly Media, Inc., 2005 Question 3. "Do you need to know how to program to document web APIs?". Peter Peter Gruenbaum. Linkedin thread. https://www.linkedin.com/groups/Do-you-need-know-how-4219315.S.5872831609228509188 Question 4. "Do you need to know how to program to document web APIs?" Sara Schertz, Tech Writer / Bus. Analyst, Linkedin thread. https://www.linkedin.com/groups/Do-you-need-know-how- 4219315.S.5872831609228509188 Question 5. – "How to write helpful code samples." Sarah Maddox. STC Intercom September 2014 (forthcoming) Question 6. “Industrious engineering students (undated)” by pellethepoet Licensed under a Creative Commons Attribution 2.0 Generic. Accessed 28 May 2014. https://www.flickr.com/photos/pellethepoet/12097798504/ Question 7. “Industrious engineering students (undated)” by pellethepoet. Licensed under a Creative Commons Attribution 2.0 Generic. Accessed 28 May 2014. https://www.flickr.com/photos/hackny/5685399451/ Question 10. "How to Solve Sudoku Puzzles Quickly and Reliably" by Conor Murphy, Accessed 28 May 2014. http://www.bigfishgames.com/blog/how-to-solve-sudoku-puzzles-quickly-and-reliably/
  • 30. Question 11. Head First Java, 2nd Edition, by Bert Bates; Kathy Sierra. Published by O'Reilly Media, Inc., 2005. Question 12. “Storyteller” by Kate. Licensed under a Creative Commons Attribution 2.0 Generic. Accessed 28 May 2014. https://www.flickr.com/photos/tylluan/7579135/ Question 13. “Christmas #30” by Kevin Dooley. Licensed under a Creative Commons Attribution 2.0 Generic. Accessed 28 May 2014. https://www.flickr.com/photos/pagedooley/5208532605/ Question 14. “Fireworks” by sj liew. Licensed under a Creative Commons Attribution 2.0 Generic. Accessed 28 May 2014. https://www.flickr.com/photos/sjliew/1286426141/ Question 16. "Code Design" (Chapter 9). Learning JavaScript, by Tim Wright. Question 17. “Engineering” by Saint Louis University. Licensed under a Creative Commons Attribution 2.0 Generic. Accessed 28 May 2014. https://www.flickr.com/photos/slumadridcampus/6263551146/ Question 20. “what people throw away” by scorpions and centaurs. Licensed under a Creative Commons Attribution 2.0 Generic. Accessed 28 May 2014. https://www.flickr.com/photos/sshb/3138725794/