An empirical study on low-code programming using traditional vs large language model support

Yongkun Liu, Jiachi Chen, Tingting Bi, John Grundy, Yanlin Wang, Jianxing Yu, Ting Chen, Yutian Tang, Zibin Zheng

TL;DR

This paper empirically compares traditional low-code programming (LCP) platforms with newer LLM-based LCP approaches by analyzing developer discussions on Stack Overflow. It reveals that while both aim to simplify development, LLM-based LCP offers broader application domains and greater flexibility, but also introduces new challenges like uncertainty and reliability concerns.

What Problem Does This Paper Address?

Low-code programming (LCP) aims to reduce manual coding and lower the barrier to entry for software development. Traditionally, LCP has relied on visual programming languages (VPLs) and programming by demonstration (PBD). However, the recent emergence of Large Language Models (LLMs) has led to LLM-based LCP, which offers a different paradigm, often leveraging natural language programming. The authors identify a need to understand the key differences, similarities, and developer feedback for these two approaches to guide the evolution of LCP tools and assist users in choosing the right technology.

Methods

The researchers conducted an empirical study by analyzing discussions on Stack Overflow (SO) over the past three years.

  1. Data Collection: They downloaded the SO data dump and filtered posts using keywords related to traditional LCP (including tool names) and LLM-based LCP.
  2. Data Extraction using ChatGPT: To refine the dataset and remove irrelevant posts (e.g., LLM discussions not related to LCP), they employed ChatGPT with carefully designed prompts for text classification.
  3. Filtering by Posts' Score: To ensure data quality, posts were filtered based on their SO scores (≥1 for traditional LCP, ≥2 for LLM-based LCP).
  4. Data Analysis: The constant comparison method was used for manual qualitative analysis of the filtered posts to answer three research questions: application domains, contribution to software development tasks, and limitations. Inter-coder agreement was measured using Cohen's Kappa.

Datasets

The primary dataset used in this study is a collection of posts from Stack Overflow (SO) spanning the last three years (June 2020 to September 2023).

  • Initial filtering yielded 7,367 posts for traditional LCP and 7,468 posts for LLM-based LCP.
  • After ChatGPT filtering and score-based selection, the final datasets comprised 642 posts for traditional LCP and 1,046 posts for LLM-based LCP.
  • The authors have made their dataset and results publicly available on Zenodo.

Key Insights and Ideas

  • Broader Horizons for LLM-LCP: LLM-based LCP is not confined to specific domains like traditional LCP (which heavily focuses on web development). It spans a wider array of applications, including general programming challenges, web development, data management, algorithms, and even gaming.
  • General Issues vs. API Integration: While both LCP types are discussed in the context of general usage issues, traditional LCP discussions lean heavily towards API integration problems. LLM-based LCP, on the other hand, is more frequently used to solve general programming challenges, suggesting it can abstract away more low-level complexities.
  • Implementation Dominance: Both traditional and LLM-based LCP discussions are heavily concentrated in the "implementation" phase of the software development lifecycle, highlighting SO's role as a platform for practical coding problem-solving.
  • Deployment Divergence: LLM-based LCP discussions show a higher focus on deployment compared to traditional LCP. This might be because LLM-generated code often requires more manual configuration during deployment, unlike traditional LCP tools that frequently integrate with cloud platforms for streamlined deployment.
  • Reliability is Key (and a Challenge): Both LCP types face reliability concerns. However, LLM-based LCP users express greater apprehension due to the inherent uncertainties and "hallucination" potential of LLMs.
  • The Need for Expertise Persists: Despite the promise of LCP to empower amateur developers, both traditional and LLM-based LCP users still require professional programming knowledge, especially for advanced functionalities. Traditional LCP users might need more to overcome basic component and API limitations.
  • Version Woes: Version-related issues are significant for both. Traditional LCP issues stem from component upgrades conflicting with custom functions, while LLM-based LCP issues arise from outdated LLM training data and hallucinations, often leading to more critical compilation failures.
  • LLM-LCP Offers Flexibility: LLM-based LCP appears to surpass traditional LCP's API limitations, offering greater flexibility and adaptability, particularly in data migration scenarios where traditional LCP can be complex due to platform-specific languages.

Key Results

  • Application Domains: Traditional LCP discussions focused on 4 categories (API integration, web backend, data management, web customization), while LLM-based LCP discussions covered 9 categories, with general issues, web frontend, web backend, and data management being predominant.
  • Software Development Tasks: The implementation phase dominated discussions for both (94.99% for traditional LCP, 87.66% for LLM-based LCP). Deployment discussions were more prevalent for LLM-based LCP (7.87%) than traditional LCP (1.06%).
  • Limitations:
    • Traditional LCP: Key limitations include "Need for professional knowledge" (34.74%), "API function" (18.95%), "Data migration" (16.84%), "Reliability concern" (15.79%), and "Version problem" (13.68%).
  • LLM-based LCP: Key limitations include "Reliability concern" (33.33%), "Version Problem" (17.39%), "Need for professional knowledge" (15.94%), "Ability to guide LLM" (13.04%), and "Hallucinate" (7.25%).
  • Positive Feedback: The overall positive feedback rate for LLM-based LCP was 39.22%, suggesting room for improvement in user satisfaction.

Limitations and Future Work

  • Limitations:
    • Single Data Source: The study relies solely on Stack Overflow discussions, which might not capture all aspects of LCP adoption, especially in enterprise or non-developer contexts. Discussions might also not reflect the absolute latest trends due to the rapid evolution of LLMs.
  • LLM Non-Determinism: The inherent non-deterministic nature of LLMs poses a challenge for reproducibility.
  • ChatGPT Accuracy: While ChatGPT was used for filtering, its accuracy in identifying LCP-related posts was noted as 56.9%, requiring manual verification.
  • Future Work:
    • Diverse Data Sources: Extend analysis to include GitHub discussions, technical blogs, and other sources to mitigate single-source bias and enable cross-platform comparisons.
  • User Studies: Conduct surveys and interviews with practitioners to gather direct feedback and validate findings.
  • Robust Approaches: Explore more robust methods like model fine-tuning and ensemble/multi-agent frameworks to enhance reproducibility and stability for LLM-based LCP.

Summary updated

BibTeX
@article{liu2024empirical,
  author = {Yongkun Liu and Jiachi Chen and Tingting Bi and John Grundy and Yanlin Wang and Jianxing Yu and Ting Chen and Yutian Tang and Zibin Zheng},
  title = {{An empirical study on low-code programming using traditional vs large language model support}},
  journal = {J. Syst. Softw.},
  year = {2024},
}
Figure