- 【Updated on May 12, 2025】 Integration of CiNii Dissertations and CiNii Books into CiNii Research
- Trial version of CiNii Research Automatic Translation feature is available on CiNii Labs
- Suspension and deletion of data provided by Nikkei BP
- Regarding the recording of “Research Data” and “Evidence Data”
Investigation of Class Syntax Usage in Small JavaScript Projects
-
- Misawa Syuto
- Okayama University
-
- Nishiura Kinari
- Okayama University
-
- Sasakura Mariko
- Okayama University
-
- Monden Akito
- Okayama University
Bibliographic Information
- Other Title
-
- 小規模JavaScriptプロジェクトにおけるclass構文の使用実態の調査
Description
<p>In this paper, we analyze small JavaScript projects on GitHub in recent years to investigate the prevalence of the class syntax in JavaScript. JavaScript is originally a prototype-based object-oriented language; however, since 2015, class has been introduced as a syntax-sugar, enabling the class-based programming style. The results of our analysis showed that 25% of the projects defined classes, while only 14.3% of the projects used instantiation of objects (functions and object literals) other than the classes defined in the program, indicating that class-based rather than prototype-based programming is used. These results suggest that it is desirable to extend the language specification to make classes easier to use and to provide libraries as classes in the future.</p>
Journal
-
- Proceedings of the JSSST Workshop on Foundation of Software Engineering
-
Proceedings of the JSSST Workshop on Foundation of Software Engineering 30 (0), 105-110, 2023-11-09
Special Interest Group on Foundation of Software Engineering in Japan Society for Software Science and Technology
- Tweet
Details 詳細情報について
-
- CRID
- 1390863252063017856
-
- ISSN
- 2436634X
-
- Text Lang
- ja
-
- Data Source
-
- JaLC
-
- Abstract License Flag
- Allowed