Comparing complexity of API designs
Authors:
Open Access
- 22 October 2011
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in ACM SIGPLAN Notices
- Vol. 47 (3) , 157-166
Abstract
Embedded, textual DSLs are often provided as an API wrapped around object-oriented application frameworks to ease framework integration. While literature presents claims that DSL-based application development is beneficial, empirical evidence for this is rare. We present the results of an experiment comparing the complexity of three different object-oriented framework APIs and an embedded, textual DSL. For this comparative experiment, we implemented the same, non-trivial application scenario using these four different APIs. Then, we performed an Object-Points (OP) analysis, yielding indicators for the API complexity specific to each API variant. The main observation for our experiment is that the embedded, textual DSL incurs the smallest API complexity. Although the results are exploratory, as well as limited to the given application scenario and a single embedded DSL, our findings can direct future empirical work. The experiment design is applicable for similar API design evaluations.Keywords
This publication has 11 references indexed in Scilit:
- On the impact of DSL tools on the maintainability of language implementations2010
- Domain-Specific Languages in Practice: A User Study on the Success Factors2009
- Controlling Transparency in an Online Learning Environment2007
- A preliminary study on various implementation approaches of domain-specific languageInformation and Software Technology, 2007
- A Domain-Specific Language for Generating Dataflow AnalyzersElectronic Notes in Theoretical Computer Science, 2006
- When and how to develop domain-specific languagesACM Computing Surveys, 2005
- Lessons learned from real DSL experimentsScience of Computer Programming, 2004
- Predicting maintenance performance using object-oriented design complexity metricsIEEE Transactions on Software Engineering, 2003
- Achieving extensibility through product-lines and domain-specific languagesACM Transactions on Software Engineering and Methodology, 2002
- An Empirical test of Object-Based Output Measurement Metrics in a Computer Aided Software Engineering (CASE) EnvironmentJournal of Management Information Systems, 1991