Prototype Oriented Simulation in JavaScript

ugliestharrasΛογισμικό & κατασκευή λογ/κού

4 Νοε 2013 (πριν από 3 χρόνια και 5 μήνες)

73 εμφανίσεις

Prototype Oriented Simulation in JavaScript


Jaroslav Sklenar

Department of Statistics and Operations Research

University of Malta, Msida MSD 06, Malta

Web: http://staff.um.edu.mt/jskl1/

E
-
mail: jskl1@stator.um.edu.mt


Abstract


The World Wide Web of Inter
net represents a (relatively) new commonly accessible
unified environment able to host solutions independent of particular platforms .....



1. Introduction


JavaScript is sometimes called a "scripting language" as an opposite to "programming
language". Th
is is at least misleading. JavaScript is in fact a full
-
featured high level
programming language ....





Conclusion


With a certain discipline JavaScript programmers can use all fundamental techniques
of OOP ....



References


[1] Eckel, B.:
Thinking in
Java.
Prentice Hall. Inc., 1998.

...




Appendix 1
: Simple inheritance in two steps


//=================== Generic Queue ========================

function GenQueueProperties(name,size,obj) // Properties

...