了解程序员如何在文档中使用注释
Understanding How Programmers Can Use Annotations on Documentation
摘要:
现代软件开发要求开发人员找到并有效地利用新的API及其文档,但文档有许多众所周知的问题。尽管如此,开发人员最终克服了这些问题,但无法分享他们学到的东西。我们研究通过\textit{annotations}共享此特定于文档的信息,这比开发人员论坛具有优势,因为信息是上下文化的,不具有破坏性,并且简短,因此易于创作。开发人员还可以编写注释来支持自己的理解。为了支持我们发现的文档使用行为,我们构建了Adamite注释工具,它支持多锚定、注释类型和固定等特性。在我们的用户研究中,我们发现开发人员能够创建对自己有用的注释,并且能够在学习新API时利用其他开发人员创建的注释,注释的读者平均比基线多完成67%的任务。
英文摘要:
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 \textit{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 supports features such as multi-anchoring, 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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。