In the table below you will find a comparison of several languages with respect to the most important features and tools of programming.
Languages: ________ ________ Features ----v---- |
S i m u l a 6 7 |
o b j . P a s c a l s |
C + + |
M o d u l a 3 |
S m a l l t a l k |
E i f f e l |
A d a |
B e t a |
J a v a |
L o g l a n ' 8 2 |
---|---|---|---|---|---|---|---|---|---|---|
Modularisation | ||||||||||
- nesting of modules | + | + | - | - | - | - | + | + | - | + |
- inheritance | + | + | + | + | + | + | - | + | + | + |
- - multilevel inheritance | - | - | - | - | - | - | - | + | - | + |
- - multiple inheritance | - | - | + | - | + | + | - | - | +7) | +1) |
-inherit in other modules2) | - | - | - | - | - | - | - | + | - | + |
- static binding of names | + | + | - | + | - | - | + | + | - | + |
Classes & Objects | + | + | + | + | + | + | - | + | + | + |
Coroutines | + | + | - | - | - | - | + | + | - | + |
Processes | - | - | - | + | - | - | + | + | + | + |
- alien call of methods 3) | - | - | - | - | - | - | - | - | - | + |
Signals & Exceptions | - | - | - | - | - | - | + | + | ? | +4) |
Safety | ||||||||||
- safe deallocation5) | - | - | - | - | - | - | - | ? | - | + |
- type checking | + | + | - | - | - | - | + | + | +? | + |
- protection of private | + | - | - | + | - | - | + | + | + | + |
Genericity & Polymorphism | ||||||||||
- types as formal param. | - | - | - | - | - | -+ | -+ | -+ | -+ | + |
- overloading of operators | - | ? | + | + | ? | + | + | + | + | - |
- virtual methods6) | + | - | + | ? | + | -+ | - | + | + | + |