Creating Guided Code Explanations with chat.codes

Steve Oney, Christopher Brooks and Paul Resnick

Abstract

Effective communication is crucial for instructors and students in programming courses. However, communicating about code can be difficult --- particularly in asynchronous settings where an instructor authors an explanation meant to be read and understood by a student later on. Communicating about code is uniquely difficult for two reasons. First, because of the dichotomous nature of the explanation, which consists of fragments of code and natural language descriptions. Second, instructors' explanations of code often involve modifying code throughout their explanation. This paper introduces chat.codes, a new tool for creating guided explanations about code. chat.codes introduces two features that make it easier to communicate about code. First, it adds deictic code references that allows instructors to write messages that reference specific regions of code. Second, it tracks and summarizes code edits in-line with messages, allowing instructors to create explanations in stages. An evaluation showed that these features were beneficial for both instructors and students.

Venue
CSCW 2018
Volume
Proceedings of the ACM on Human-Computer Interaction, Volume 2, Issue CSCW
DOI
10.1145/3274400
PDF
https://dl.acm.org/doi/pdf/10.1145/3274400
Anthology ID
2018.pacm-cscw.114

Cite

@article{oney-etal-2018-creating,
    title = {{Creating Guided Code Explanations with chat.codes}},
    author = {Steve Oney and Christopher Brooks and Paul Resnick},
    journal = {Proceedings of the ACM on Human-Computer Interaction},
    volume = {2},
    number = {CSCW},
    issn = {2573-0142},
    year = {2018},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3274400},
    url = {https://doi.org/10.1145/3274400},
    abstract = {Effective communication is crucial for instructors and students in programming courses. However, communicating about code can be difficult --- particularly in asynchronous settings where an instructor authors an explanation meant to be read and understood by a student later on. Communicating about code is uniquely difficult for two reasons. First, because of the dichotomous nature of the explanation, which consists of fragments of code and natural language descriptions. Second, instructors' explanations of code often involve modifying code throughout their explanation. This paper introduces chat.codes, a new tool for creating guided explanations about code. chat.codes introduces two features that make it easier to communicate about code. First, it adds deictic code references that allows instructors to write messages that reference specific regions of code. Second, it tracks and summarizes code edits in-line with messages, allowing instructors to create explanations in stages. An evaluation showed that these features were beneficial for both instructors and students.}
}