active web pages

Active Web Pages - content previous page next page

deutsch
Zur deutschen Version
po polsku
Do wersji polskiej
Russian
К русской версии

Content

The possibilities of JavaScript

With JavaScript, the possibilities of object-oriented languages can easily be simulated.
classes:
Functions assign attributes and functions to objects.

inheritance:
Attributes are added and overwritten in a further function.

Polymorphism:
...
Ar = new Object();
Ar[0] = Ob1;
Ar[1] = Ob2;
Ar[2] = Ob3;
for (i = 0; i <3; I++)
Ar[i].anyFunction();

Restrictions of OO languages are missing (data hiding, object hierarchies) - JavaScript is not suited for large programs.

About me  
Internet  
Guitar  
Literature  
Linguistics  
Software  
Links  
Contact