Paketname | nice |
Beschreibung | Extension of Java with parametric types, multi-methods, and more |
Archiv/Repository | Offizielles Debian Archiv squeeze (main) |
Version | 0.9.13-3.2 |
Sektion | java |
Priorität | optional |
Installierte Größe | 1668 Byte |
Hängt ab von | default-jre-headless | java1-runtime | java2-runtime |
Empfohlene Pakete | |
Paketbetreuer | Daniel Bonniot |
Quelle | |
Paketgröße | 1406886 Byte |
Prüfsumme MD5 | d6227691720bc41c49e2aaff4fe416a8 |
Prüfsumme SHA1 | 7fc3b10458a21fa83295f50adb130a678beed942 |
Prüfsumme SHA256 | e308e576433251685bb336537bbb5e022e92644d98327989b3f036e39b7c54ca |
Link zum Herunterladen | nice_0.9.13-3.2_all.deb |
Ausführliche Beschreibung | Nice is a new object-oriented programming language.
.
It extends Java with many advanced features:
* Parametric types: this is especially useful for containers
(lists, hash-tables) and allows for shorter and safer code.
* Anonymous functions: functions can be created and manipulated as
first-class expressions, just like in Lisp and ML.
This is much lighter than Java's anonymous classes in many situations,
for instance with listeners in a GUI.
* Multi-methods: they allow methods to be defined outside classes.
This means that new methods can be defined on classes that
belong to a different package (even in java.*).
Multi-methods alse extend usual methods with the possibility to
dispatch on every argument, instead of only the receiver class.
This supersedes the Visitor pattern.
* Tuples: this allows in particular methods to return several values.
* Optional parameters to methods.
Optional parameters have a default value that is used when the parameter
is not present in the call. This is much simpler than in Java, where one
has to write several versions of the method for each combination of
parameters.
* Nice detects more errors during compilation: programs written in Nice
never throw NullPointerException nor ClassCastException.
.
For more information see http://nice.sourceforge.net
|