Program comprehension of domain-specific and general-purpose languages: comparison using a family of experiments

被引:0
|
作者
Tomaž Kosar
Marjan Mernik
Jeffrey C. Carver
机构
[1] University of Maribor,Faculty of Electrical Engineering and Computer Science
[2] University of Alabama,Department of Computer Science
来源
关键词
Domain-specific languages; General-purpose languages; Program understanding; Program comprehension; Controlled experiments; Language evaluations;
D O I
暂无
中图分类号
学科分类号
摘要
Domain-specific languages (DSLs) are often argued to have a simpler notation than general-purpose languages (GPLs), since the notation is adapted to the specific problem domain. Consequently, the impact of domain relevance on the creation of the problem representation is believed to improve programmers’ efficiency and accuracy when using DSLs compared with using similar solutions like application libraries in GPLs. Most of the common beliefs have been based upon qualitative conclusions drawn by developers. Rather than implementing the same problem in a DSL and in a GPL and comparing the efficiency and accuracy of each approach, developers often compare the implementation of a new program in a DSL to their previous experiences implementing similar programs in GPLs. Such a conclusion may or may not be valid. This paper takes a more skeptical approach to acceptance of those beliefs. By reporting on a family of three empirical studies comparing DSLs and GPLs in different domains. The results of the studies showed that when using a DSL, developers are more accurate and more efficient in program comprehension than when using a GPL. These results validate some of the long- held beliefs of the DSL community that until now were only supported by anecdotal evidence.
引用
收藏
页码:276 / 304
页数:28
相关论文
共 50 条
  • [1] Program comprehension of domain-specific and general-purpose languages: comparison using a family of experiments
    Kosar, Tomaz
    Mernik, Marjan
    Carver, Jeffrey C.
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2012, 17 (03) : 276 - 304
  • [2] Program comprehension of domain-specific and general-purpose languages: replication of a family of experiments using integrated development environments
    Tomaž Kosar
    Sašo Gaberc
    Jeffrey C. Carver
    Marjan Mernik
    [J]. Empirical Software Engineering, 2018, 23 : 2734 - 2763
  • [3] Program comprehension of domain-specific and general-purpose languages: replication of a family of experiments using integrated development environments
    Kosar, Tomaz
    Gaberc, Saso
    Carver, Jeffrey C.
    Mernik, Marjan
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2018, 23 (05) : 2734 - 2763
  • [4] Symbiotic General-Purpose and Domain-Specific Languages
    Atkinson, Colin
    Gerbig, Ralph
    Kennel, Bastian
    [J]. 2012 34TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2012, : 1269 - 1272
  • [5] Comparing General-Purpose and Domain-Specific Languages: An Empirical Study
    Kosar, Tomaz
    Oliveira, Nuno
    Mernik, Marjan
    Varanda Pereira, Maria Joao
    Crepinsek, Matej
    da Cruz, Daniela
    Henriques, Pedro Rangel
    [J]. COMPUTER SCIENCE AND INFORMATION SYSTEMS, 2010, 7 (02) : 247 - 264
  • [6] Program Comprehension for Domain-Specific Languages
    Varanda Pereira, Maria Joao
    Mernik, Marjan
    da Cruz, Daniela
    Henriques, Pedro Rangel
    [J]. COMPUTER SCIENCE AND INFORMATION SYSTEMS, 2008, 5 (02) : 1 - 17
  • [7] Towards Matching of Domain-Specific Schemas Using General-Purpose External Background Knowledge
    Portisch, Jan Philipp
    [J]. SEMANTIC WEB: ESWC 2020 SATELLITE EVENTS, 2020, 12124 : 270 - 279
  • [8] Domain-specific schema discovery from general-purpose knowledge base
    Neto E.C.
    Moreira J.
    Barbosa L.
    Salgado A.C.
    [J]. International Journal of Metadata, Semantics and Ontologies, 2023, 16 (03) : 210 - 226
  • [9] Comprehension of safety-critical systems using domain-specific languages
    Bull, T
    [J]. FOURTH WORKSHOP ON PROGRAM COMPREHENSION, PROCEEDINGS, 1996, : 108 - 122
  • [10] Comprehension of safety-critical systems using domain-specific languages
    Univ of Durham, Durham, United Kingdom
    [J]. Program Comprehension Workshop Proc, (108-122):