Lune

CHI2022Top-tier venue

Understanding How Programmers Can Use Annotations on Documentation

Amber Horvath, Michael Xieyang Liu, River Hendriksen, Connor Shannon, Emma Paterson, Kazi Jawad, Andrew Macvean, Brad A. Myers

Abstract

Modern software development requires developers to find and effectively utilize new APIs and their documentation, but documentation has many well-known issues. Despite this, developers eventually overcome these issues but have no way of sharing what they learned. We investigate sharing this documentation-specific information through annotations, which have advantages over developer forums as the information is contextualized, not disruptive, and is short, thus easy to author. Developers can also author annotations to support their own comprehension. In order to support the documentation usage behaviors we found, we built the Adamite annotation tool, which provides features such as multiple anchors, annotation types, and pinning. In our user study, we found that developers are able to create annotations that are useful to themselves and are able to utilize annotations created by other developers when learning a new API, with readers of the annotations completing 67% more of the task, on average, than the baseline.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

9 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Assistance or Disruption? Exploring and Evaluating the Design and Trade-offs of Proactive AI Programming Support cites Ivie: Lightweight Anchored Explanations of Just-Generated Code
  • Selenite: Scaffolding Online Sensemaking with Comprehensive Overviews Elicited from Large Language Models cites To Reuse or Not To Reuse?: A Framework and System for Evaluating Summarized Knowledge
  • Selenite: Scaffolding Online Sensemaking with Comprehensive Overviews Elicited from Large Language Models cites Wigglite: Low-cost Information Collection and Triage
  • Selenite: Scaffolding Online Sensemaking with Comprehensive Overviews Elicited from Large Language Models cites "What It Wants Me To Say": Bridging the Abstraction Gap Between End-User Programmers and Code-Generating Large Language Models
  • Wigglite: Low-cost Information Collection and Triage cites To Reuse or Not To Reuse?: A Framework and System for Evaluating Summarized Knowledge
  • "What It Wants Me To Say": Bridging the Abstraction Gap Between End-User Programmers and Code-Generating Large Language Models cites To Reuse or Not To Reuse?: A Framework and System for Evaluating Summarized Knowledge
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. "What It Wants Me To Say": Bridging the Abstraction Gap Between End-User Programmers and Code-Generating Large Language ModelsMichael Xieyang Liu, Advait Sarkar, Carina Negreanu, Benjamin G. Zorn et al.CHI 2023 · 114 citations
  2. Wigglite: Low-cost Information Collection and TriageMichael Xieyang Liu, Andrew Kuznetsov, Yongsung Kim, Joseph Chee Chang et al.UIST 2022 · 62 citations
  3. Selenite: Scaffolding Online Sensemaking with Comprehensive Overviews Elicited from Large Language ModelsMichael Xieyang Liu, Tongshuang Wu, Tianying Chen, Franklin Mingzhe Li et al.CHI 2024 · 44 citations
  4. Ivie: Lightweight Anchored Explanations of Just-Generated CodeLitao Yan, Alyssa Hwang, Zhiyuan Wu, Andrew HeadCHI 2024 · 40 citations
  5. Assistance or Disruption? Exploring and Evaluating the Design and Trade-offs of Proactive AI Programming SupportKevin Pu, Daniel Lazaro, Ian Arawjo, Haijun Xia et al.CHI 2025 · 31 citations

Builds on1

  1. To Reuse or Not To Reuse?: A Framework and System for Evaluating Summarized KnowledgeMichael Xieyang Liu, Aniket Kittur, Brad A. MyersCSCW 2021 · 23 citations

Related papers

  1. Using Annotations for Sensemaking About CodeAmber Horvath, Brad A. Myers, Andrew Macvean, Imtiaz RahmanUIST 2022 · 24 citations
  2. Demystify official API usage directives with crowdsourced API misuse scenarios, erroneous code examples and patchesXiaoxue Ren, Jiamou Sun, Zhenchang Xing, Xin Xia et al.ICSE 2020 · 28 citations
  3. An Analysis of the Costs and Benefits of Autocomplete in IDEsShaokang Jiang, Michael CoblenzFSE 2024 · 5 citations
  4. Honeysuckle: Annotation-Guided Code Generation of In-App Privacy NoticesTianshi Li, Elijah B. Neundorfer, Yuvraj Agarwal, Jason I. HongUbiComp 2021 · 18 citations
  5. When APIs are intentionally bypassed: an exploratory study of API workaroundsMaxime Lamothe, Weiyi ShangICSE 2020 · 14 citations
Dusk over the sea between two cliffs drawn in fine vertical lines