Salvato in:
Dettagli Bibliografici
Autori principali: Kang, Deokyeong, Seo, Ki Jung, Kim, Taeuk
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:https://arxiv.org/abs/2407.11406
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866913569331740672
author Kang, Deokyeong
Seo, Ki Jung
Kim, Taeuk
author_facet Kang, Deokyeong
Seo, Ki Jung
Kim, Taeuk
contents Modular programming, which aims to construct the final program by integrating smaller, independent building blocks, has been regarded as a desirable practice in software development. However, with the rise of recent code generation agents built upon large language models (LLMs), a question emerges: is this traditional practice equally effective for these new tools? In this work, we assess the impact of modularity in code generation by introducing a novel metric for its quantitative measurement. Surprisingly, unlike conventional wisdom on the topic, we find that modularity is not a core factor for improving the performance of code generation models. We also explore potential explanations for why LLMs do not exhibit a preference for modular code compared to non-modular code.
format Preprint
id arxiv_https___arxiv_org_abs_2407_11406
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Revisiting the Impact of Pursuing Modularity for Code Generation
Kang, Deokyeong
Seo, Ki Jung
Kim, Taeuk
Computation and Language
Modular programming, which aims to construct the final program by integrating smaller, independent building blocks, has been regarded as a desirable practice in software development. However, with the rise of recent code generation agents built upon large language models (LLMs), a question emerges: is this traditional practice equally effective for these new tools? In this work, we assess the impact of modularity in code generation by introducing a novel metric for its quantitative measurement. Surprisingly, unlike conventional wisdom on the topic, we find that modularity is not a core factor for improving the performance of code generation models. We also explore potential explanations for why LLMs do not exhibit a preference for modular code compared to non-modular code.
title Revisiting the Impact of Pursuing Modularity for Code Generation
topic Computation and Language
url https://arxiv.org/abs/2407.11406