Kosar, Tomaz, Oliveira, Nuno, Marjan Mernik, Pereira, Varanda, Crepinsek, Matej, Da, Cruz, Henriques, Rangel. Comparing general-purpose and domain-specific languages: An empirical study. Computer Science and Information Systems, 7(2):247-264, 2010.
Many domain-specific languages, that try to bring feasible alternatives for existing solutions while simplifying programming work, have come up in recent years. Although, these little languages seem to be easy to use, there is an open issue whether they bring advantages in comparison to the application libraries, which are the most commonly used implementation approach. In this work, we present an experiment, which was carried out to compare such a domain-specific language with a comparable application library. The experiment was conducted with 36 programmers, who have answered a questionnaire on implementation approaches. The questionnaire is more than 100 pages long. For a domain-specific language and the application library, the same problem domain has been used – construction of graphical user interfaces. In terms of a domain-specific language, XAML has been used and C# Forms for the application library. A cognitive dimension framework has been used for a comparison between XAML and C# Forms. both