Nice (programming language)

Nice is a programming language. Its syntax is very similar to that of Java, and in addition the compiler generates bytecode for a Java VM.

In contrast to Java Nice supports a wide range of language elements that are known from the world of functional programming languages ​​. In addition to real functions which will also include the known LISP multi-methods (multiple dispatch ), closures and higher order functions.

Nice implements the paradigm of static typing. Thanks to a type inference mechanism, it is not necessary for each parameter at the time of the draft program to assign a type that is so far ensured that this can be determined dynamically at runtime. Moreover Nice dominated generic types, as introduced with version 1.5 in Java. This class cast exceptions is pursuing the goal to prevent as far as possible. A special feature here is that the zero value (optional, not to hinder interoperability with Java) is treated as an independent data type, and it is therefore possible to already detect type errors as the occurrence of a null pointer at compile time.

602022
de