从编写到修剪软件:受 bonsai 启发的 IDE 用于塑造 AI 生成代码
摘要
AI 驱动的编码助手的兴起标志着软件构建方式的根本性转变。虽然 AI 编码助手已被集成到现有的集成开发环境 (IDE),但其潜力仍 largely 未被充分发挥。一个关键挑战是,这些 AI 助手可能受到幻觉影响,导致开发者沿着 AI 不应决定的决策路径前进,甚至在用户意识或同意的情况下发生。此外,当前的静态文件 IDE 缺乏解决关键问题的机制,例如跟踪 AI 生成代码的来源,并以一种与 AI 辅助开发动态本质相一致的方式集成版本控制。结果是,开发者缺乏必要的工具来系统性地管理、细化和验证 AI 生成的代码,使他们难以确保正确性、可维护性和可信度。现有的 IDE 将 AI 生成的代码视为静态文本,提供有限的支持来管理其演化、细化或多个备选路径。drawing inspiration from the ancient art of Japanese Bonsai gardening focused on balance, structure, and deliberate pruning: we propose a new approach to IDEs, where AI is allowed to generate in its true, unconstrained form, free from traditional file structures. This approach fosters a more fluid and interactive method for code evolution. We introduce the concept of a Bonsai-inspired IDE, structured as a graph of generated code snippets and multiple code paths, enabling developers to reshape AI generated code to suit their needs. Our vision calls for a shift away from a static file based model toward a dynamic, evolving system that allows for continuous refinement of generated code, with the IDE evolving alongside AI powered modifications rather than merely serving as a place to write and edit code.
引用
@article{arxiv.2503.02833,
title = {The Shift from Writing to Pruning Software: A Bonsai-Inspired IDE for Reshaping AI Generated Code},
author = {Raula Gaikovina Kula and Christoph Treude},
journal= {arXiv preprint arXiv:2503.02833},
year = {2025}
}
备注
Submitted to SE 2030 Software Engineering Roadmap Workshop