CoLadder: Manipulating Code Generation via Multi-Level Blocks

Ryan Yen, Jiawen Stefanie Zhu, Sangho Suh, Haijun Xia and Jian Zhao

Abstract

This paper adopted an iterative design process to gain insights into programmers’ strategies when using LLMs for programming. We proposed CoLadder, a novel system that supports programmers by facilitating hierarchical task decomposition, direct code segment manipulation, and result evaluation during prompt authoring. A user study with 12 experienced programmers showed that CoLadder is effective in helping programmers externalize their problem-solving intentions flexibly, improving their ability to evaluate and modify code across various abstraction levels, from their task’s goal to final code implementation.

Venue
UIST 2024
Volume
Proceedings of the 37th Annual ACM Symposium on User Interface Software and Technology
DOI
10.1145/3654777.3676357
PDF
https://dl.acm.org/doi/pdf/10.1145/3654777.3676357
Anthology ID
2024.uist.35

Cite

@inproceedings{yen-etal-2024-coladder,
    title = {{CoLadder: Manipulating Code Generation via Multi-Level Blocks}},
    author = {Ryan Yen and Jiawen Stefanie Zhu and Sangho Suh and Haijun Xia and Jian Zhao},
    booktitle = {Proceedings of the 37th Annual ACM Symposium on User Interface Software and Technology},
    isbn = {9798400706288},
    year = {2024},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3654777.3676357},
    url = {https://doi.org/10.1145/3654777.3676357},
    abstract = {This paper adopted an iterative design process to gain insights into programmers’ strategies when using LLMs for programming. We proposed CoLadder, a novel system that supports programmers by facilitating hierarchical task decomposition, direct code segment manipulation, and result evaluation during prompt authoring. A user study with 12 experienced programmers showed that CoLadder is effective in helping programmers externalize their problem-solving intentions flexibly, improving their ability to evaluate and modify code across various abstraction levels, from their task’s goal to final code implementation.}
}