• Home
  • Search
  • Does JavaScript software embrace classes?
  • Open Access IconOpen Access
  • Cite Icon21
  • https://doi.org/10.1109/saner.2015.7081817Copy DOI Icon

Does JavaScript software embrace classes?

  • Mar 1, 2015
  • Leonardo Humberto Silva +4 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

JavaScript is the de facto programming language for the Web. It is used to implement mail clients, office applications, or IDEs, that can weight hundreds of thousands of lines of code. The language itself is prototype based, but to master the complexity of their application, practitioners commonly rely on informal class abstractions. This practice has never been the target of empirical research in JavaScript. Yet, understanding it is key to adequately tuning programming environments and structure libraries such that they are accessible to programmers. In this paper we report on a large and in-depth study to understand how class emulation is employed in JavaScript applications. We propose a strategy to statically detect class-based abstractions in the source code of JavaScript systems. We used this strategy in a dataset of 50 popular JavaScript applications available from GitHub. We found four types of JavaScript software: class-free (systems that do not make any usage of classes), class-aware (systems that use classes, but marginally), class-friendly (systems that make a relevant usage of classes), and class-oriented (systems that have most of their data structures implemented as classes). The systems in these categories represent, respectively, 26%, 36%, 30%, and 8% of the systems we studied.

Similar Papers
  • Conference Article

Characterizing and taming non-deterministic bugs in Javascript applications

  • Oct 01, 2017
  • Jie Wang
  • Conference Article
  • Citations123

Practical static analysis of JavaScript applications in the presence of frameworks and libraries

  • Aug 18, 2013
  • Magnus Madsen +2
  • Research Article
  • Citations8

Forecasting the Principal of Code Technical Debt in JavaScript Applications

  • Apr 01, 2023
  • IEEE Transactions on Software Engineering
  • Ioannis Zozas +2
  • Book Chapter

2 - The VBA Design Environment

  • Jan 01, 2003
  • Microsoft Outlook Programming
  • Sue Mosher
  • Research Article
  • Citations24

Surveying LinkedIn Profiles of Data Scientists: The Case of the Philippines

  • Jan 01, 2017
  • Procedia Computer Science
  • Jerina Jean Ecleo +1
  • Research Article
  • Citations145

Genetic programming and data structures: Geneticprogramming + datastructures = automaticprogramming: By W. B. Langdon. Kluwer Academic Publishers, Boston, MA. (1998). 278 pages. $125.00. NLG 285.00, GBP 85.00

  • Mar 01, 1999
  • Computers and Mathematics with Applications
  • William B Langdon +1
  • Conference Article
  • Citations3

Empirically Examining the Quality of Source Code in Engineering Software Systems

  • May 01, 2018
  • Jens K Carter +2
  • Research Article
  • Citations2

IS education

  • Nov 30, 2008
  • ACM SIGCSE Bulletin
  • Heikki Topi
  • Conference Article
  • Citations2

Teaching Programming Experiences in Times of COVID-19 in the State of Zacatecas

  • Oct 20, 2021
  • Elvia Lara +2
  • Conference Article
  • Citations3

Work in progress - spreadsheet implementation programming project course

  • Oct 01, 2008
  • Richard Perry
  • Conference Article
  • Citations1

Test-Run of the "App-Driven Approach" in Teaching A Mobile Programming Course

  • May 02, 2014
  • Xing Liu
  • Research Article

The Grading Model of College Minority Students Based on Visual Information Technology

  • Jan 01, 2022
  • International Journal of Frontiers in Sociology
  • Haiyan Guo +1
  • Book Chapter
  • Citations1

Programming and Data Structures

  • Dec 10, 2018
  • Conference Article
  • Citations5

Deep Neural Networks for Predicting Students' Performance

  • Mar 03, 2021
  • Aya Nabil +2
  • Conference Article
  • Citations1

Software Skills Required by M&S Graduates For Des Development

  • Dec 01, 2019
  • James F Leathrum +3
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.