2012 14th IEEE International Symposium on Web Systems Evolution (WSE) 2012
DOI: 10.1109/wse.2012.6320536
|View full text |Cite
|
Sign up to set email alerts
|

Normalizing object-oriented class styles in JavaScript

Abstract: Abstract-JavaScript is a dynamic, weakly typed, multiparadigm programming language that supports object-oriented, imperative, and functional programming styles. While web developers appreciate this flexibility when implementing complex and interactive web applications, this wide range of possible styles can hinder program comprehension and make maintenance difficult, especially in large projects involving many different programmers. A particular problem is the several different ways in which object-oriented cl… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
2
1

Citation Types

0
10
0

Year Published

2013
2013
2017
2017

Publication Types

Select...
3
2
1

Relationship

0
6

Authors

Journals

citations
Cited by 9 publications
(10 citation statements)
references
References 10 publications
(9 reference statements)
0
10
0
Order By: Relevance
“…The implementation in Listing 1.1 represents one possibility of class emulation in JavaScript. Some variations are possible, like implementing methods inside/outside class constructors and using anonymous/non-anonymous functions [8,11].…”
Section: Class Emulation In Legacy Javascript Codementioning
confidence: 99%
“…The implementation in Listing 1.1 represents one possibility of class emulation in JavaScript. Some variations are possible, like implementing methods inside/outside class constructors and using anonymous/non-anonymous functions [8,11].…”
Section: Class Emulation In Legacy Javascript Codementioning
confidence: 99%
“…Gama et al identify 5 styles for implementing methods in JavaScript: inside/outside constructor functions using anonymous/nonanonymous functions and using prototypes. Their main goal is to implement an automated approach to normalizing JavaScript code to a single consistent object‐oriented style.…”
Section: Related Workmentioning
confidence: 99%
“…The software follows an objectoriented approach. JavaScript does not support class-based inheritance as in C++ (or similar languages), rather, it implements behavior reuse through prototype-based inheritance [13]. If a desired property is not found on an object, the property access is delegated up the prototype chain.…”
Section: Javascript and Web Applicationsmentioning
confidence: 99%