Using prototypical objects to implement shared behavior in object-oriented systems
OOPLSA '86 Conference proceedings on Object-oriented programming systems, languages and applications
OOPSLA '87 Conference proceedings on Object-oriented programming systems, languages and applications
Organizing programs without classes
Lisp and Symbolic Computation
Object-oriented analysis and design with applications (2nd ed.)
Object-oriented analysis and design with applications (2nd ed.)
Learning to program: spreadsheets, scripting and HCI
ACE '04 Proceedings of the Sixth Australasian Conference on Computing Education - Volume 30
A programming environment supporting a prototype-based introduction to OOP
Proceedings of the International Workshop on Smalltalk Technologies
Hi-index | 0.00 |
In this paper we consider using the popular scripting language JavaScript / ECMAScript to teach object-based and object-oriented programming to beginning or novice programmers. We explore JavaScript's use of constructors and prototypes as an alternative to class-definition based systems. We show that JavaScript's prototype-based mechanisms provide the four essential components of the object-oriented paradigm: abstraction, encapsulation, modularity, and hierarchy.We provide examples which conform to the ECMAScript standard, and which have been implemented and tested using the JavaScript interpreter incorporated into Netscape Communicator 4.7.