{'fraction_non_alphanumeric': 0.0299079754601227, 'fraction_numerical': 0.0, 'mean_word_length': 5.126760563380282, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
The Reaction of Open Source Projects to C++ Templates and Lambdas: An Empirical Replication Study

New language features are added into a programming language to make high quality software. However, new features are not always welcomed in the programming community since they have pros and cons. Templates and lambdas have benefits so both features were added in many programming languages, such as C++, Java, and C#. To find improvements, the programming community wants to know how these features are actually being used in projects. Researchers have conducted these studies in different languages and different experimental environments. In this study, we conduct an empirical replication study with C++ open source projects in the same experimental environment we’ve conducted with Java and C# to ascertain what the community wants. Our framework of the static analysis tool for Java and C# has been extended to analyze C/C++ open source projects with quantitative data. We investigate how two language features—templates and lambdas—are used in C++ open source projects. We found that C++ templates are used widely by projects and developers, but C++ lambdas are not used widely. These results of this study are similar to those in other programming languages and in other experimental environments.